Android Studio 4.0 Installation failed due to: 'null' - android-studio

All of a sudden I have had issue trying to install my app onto my device. I am getting a set of errors and i'm having trouble finding the solution.
ERROR
Installation did not succeed.
The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
List of apks:
[0] 'C:\Users\simonszarco\AndroidStudioProjects\Dartsystems\app\build\outputs\apk\debug\app-arm64-v8a-debug.apk'
Installation failed due to: 'null'
Retry
Has anyone else come across this error before and if so how did you fix it.
Thank you

For some reason I changed the android skd minimum requirements to android 23 and it started working after that.
No clue why this occurred maybe someone can shed some light to this.

I try a lot of solution and finally, I found one solution that works for me
On your mobile go to the setting of your mobile then Addition Setting -> Developer option -> and disable verify apps via USB
Then install the app. Hope it will work

Related

Hololens emulator showing NullReferenceException

I'm trying to run a Hello World kind of problem for a HoloLens on emulator but it is showing error:
The following unexpected error occurred during bootstrapping stage
'Connecting to the device '<device>'.': NullReferenceException - Object reference not set to an instance of an object. [0x80004003]
I have tried making a new project, reinstalling emulator and checked Hyper-V on my system
Please refer to the Troubleshooting section of https://learn.microsoft.com/en-us/windows/mixed-reality/using-the-hololens-emulator. I suspect you're hitting an installation issue where XDE is installed to the wrong folder. The documentation includes a solution for this. Please let me know if this does not resolve the issue.

Error: Could not find or load main class org.gradle.launcher.daemon.bootstrap.GradleDaemon

I have bought a few android codes from codecanyon.net they used to work before today without any errors but today with every android project i open i get this message
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at
https://docs.gradle.org/4.1/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error: Could not find or load main class
org.gradle.launcher.daemon.bootstrap.GradleDaemon
It started today when i opened my android studio (3.0.1
I have uninstalled and reinstalled to the latest version of android 3.1.2 and i still receive the error.
Ive done some research but i couldnt figure out what to do. this happens with everyone of the projects i open. I even opened android studio with admin privs.
Please help. Thanks
Ok so i think I figured it out. my antivirus was blocking it, i had turned off my protection and i got past the error.

Continuous delivery to Azure using Visual Studio Online: Loss of conectivity

I've followed each step of this tutorial: https://azure.microsoft.com/en-us/documentation/articles/cloud-services-continuous-delivery-use-vso/
When I make check-in It triggers the build, but I receive the error message:
This build has been stopped automatically by the server due to loss of connectivity to the build machine.
I can't find a solution for this problem. I'm retrying the build but without succes.
Can anyone help me with this problem?
Regards
Bizarro issue that showed up on my system without notice.
After a lot of troubleshooting, I found that I had not mapped the Visual Studio solution to my local drive. After mapping, resetting security permissions, it began to work. Sorry, I dont have a clear solution for you.

Windows 8.1 / Windows 10 breaks my ASP.NET / IIS : "Service unavailable"

With Windows 8.1 finally released to MSDN/Technet today I came across the following issue running my ASP.NET application after doing an in place upgrade with Win 8.1 RTM:
Service Unavailable
HTTP Error 503. The service is unavailable.
The AppPool has died and shows a status of Stopped
The IIS log has nothing
There's a clue is in the Windows Application log which contains this error
The Module DLL C:\WINDOWS\system32\inetsrv\rewrite.dll failed to load. The data is the error.
How can I recover my IIS to make it work again?
It looks like a simple uninstall and re-install of the rewrite module will do the trick.
Edit: As others have said - try a repair first - if it works then that should be faster.
It doesn't look like the Microsoft Web Platform Installer is able to uninstall it so just go to Programs and Features to uninstall it.
You'll find it listed as IIS URL Rewrite Module 2 and just click the Uninstall button on top.
Then reinstall it from here:
http://www.iis.net/downloads/microsoft/url-rewrite
Make sure your App Pool is started - or just restart IIS and it should all work again.
Edit: 8/30/16 : A similar but unrelated error can occur if you have the 'new' .NET core installed and update to Win 10 Anniversary edition. See here: https://github.com/aspnet/Home/issues/1583 - Running a repair on VS 2015 Tooling Preview should fix it. Wanted to add it here since the errors are very similar to this answer.
I got this Event Log error after updating Win8.1 to Win10. To fix, go to the Control Panel -> Programs and Features, locate IIS URL Rewrite Module 2, right click and select Repair (it's quick). Next, restart your stopped AppPool(s). Should be OK now.
No need to uninstall nor reinstall.
Gary Davis
Don't need to uninstall. Just do a Repair instead, and it will works.
For some weird reasons, the only solution for me was to install previous version of the module, from https://www.microsoft.com/en-us/download/details.aspx?id=7435
I just ran in to this issue after an update. All of the app pools where stopped!
Starting them resolved the issue.
I struggled with similar issues last night.
It started out with a complaint about missing redirect.dll. After installing IIS' Redirect feature, that log message disappeared and all I was left with was a bunch of error messages from WAS. It tried starting my application pool five times until giving up.
A listener channel for protocol 'http' in worker process '120' serving
application pool 'my app pool' reported a listener channel failure.
The data field contains the error number.
The error code was "8007007E" (File not found according to google).
I then installed ProcMon from sysinternals.com and every time the w3wp process complained about "NAME NOT FOUND" right before terminating, I googled and installed the corresponding IIS feature. I repeated this until I had installed them all and got everything working again.
Installing everything is not a good solution, but I do not have time to investigate deeper right now.
I came across similar symptoms after changing my domain password. I had to also reset my password in my (hard coded!) App Pool settings on my dev box.
I had a similar issue with "httpplatformhandler.dll failed to load". Again the solution was to download the appropriate httpplatformhandler install msi from http://www.iis.net/downloads/microsoft/httpplatformhandler and then run a repair.
The Repair worked for me after updating to W10 Insider Preview 160826-1902
I encountered the same problem in Windows Server 2012 R2. After I update Windows Updates to newest, it works.

This app failed to launch because of an issue with its license

I'm happily in the middle of coding then I try to launch my app in debug mode but I get this error message.
Unable to activate Windows Store app
This app failed to launch because of an issue with its license
The app was launching fine a few minutes earlier so this came as a surprise. I tried restarting Visual Studio but doing so did not help.
I got the annoying "renew your developer license" dialog yesterday I think. It had renewed without issue.
How do I make this error message go away so i can debug my app?
Well, I got it working by deleting the main project's 'bin' and 'obj' folders. Cleaning and Rebuilding wasn't enough. Hope this answer saves someone else the few minutes of confusion I just experienced.
I recently had a similar issue. In my case I had to uninstall the re-install the app to get it working.
Hope this helps someone. Also, to find out further detail about why it failed, you can checkout the event logs:
Event Viewer > Applications and Services logs > Microsoft > Windows > Aps > Microsoft-Windows-TWinUI/Operational
There might be some more detail in there. In my case it was logged as an error event which said the app could not be launched because of a temporary issue with its license.
I just uninstalled the existing version of the app from the start screen, and then launched the app again from Visual Studio and it is launched just fine.
I think the reason behind this is because of renewing the license of Visual Studio and trying to launch an app that was installed when the previous license was active.
I see doing stuff with the bin and obj folders appears to be the accepted answer to this.
I fixed this issue by selecting the 'Uninstall and then re-install my package. All information about the application state is deleted.' check box under the Debug tab of the project properties. You can uncheck it once you've done it once for all future builds.
I haven't had any issue with this solution. Simple fix and you don't have to worry about someone doing something to folders that could cause bigger issues.
http://daxdude.blogspot.com/2013/04/c-error-unable-to-activate-windows.html
I've had this issue a few times now, most of the time deleting the Bin and Obj folders will clear the issue up (These folders are automatically generated during a project build so don't worry about deleting them)
I have found whilst debugging on a remote device (A tablet or phone) that Deleting these folders doesn't solve the problem though - in this case the best solution I have found is just to do a restart on the device I was remote debugging to.
Simple but it works!
I just cleaned my solution and re-started Visual Studio. That did the trick for me - and didn't involve hunting around for files to delete, so you might want to try that first.
go to BUILD-->Clean Solution and click and after its has been cleaned again go to BUILD-->Rebuild Solution. After it has successfully rebuilt your solution just deploy it(Ctrl+F5). This solved the problem for me.

Resources