I am trying to create a new Blank App (Android) in Visual Studio 2015 with installed Xamarin, Android SDK and Android emulator. When trying to create a new Project, I just get a popup with the message:
Value cannot be null. Parameter name: path1
Solution Explorer is empty and just a empty folder is created in Projects folder.
How can I solve it?
To create the APK file, right-click the Xamarin. Android project in the Solution Explorer and select Archive... This will open the Archive manager and begin archiving the project, preparing to create the APK file. When it finishes archiving the project, click in Distribute... to proceed.
by default, the "Android Studio IDE" will be installed in " C:\Program Files\Android\Android Studio ", and the "Android SDK" in " c:\Users\username\AppData\Local\Android\Sdk ".
Go to android project then right click -> Properties -> Android Manifest (scroll down) then you will see Minimun android version and Target android version.
The simplest way to set up the prerequisites is to download "Android Studio for Windows", run it, and follow the "Setup Wizard" it will present to guide you through installing the Android SDK. After that, the Android SDK will be available in %APPDATA%/Android/SDK , where Water will pick it up automatically.
Go to Xamarin Studio Tools-->Options-->SDK
Give the proper locations and restart Visual Studio.This worked for me
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With