Building app with Cordova using Visual studio - android

I am using visual studio to develop cordova apps, they seem to run perfectly on ripple emulator but when I select GOOGLE ANDROID EMULATOR then it gives the error as
THIS AVD's CONFIGURATION IS MISSING A KERNEL FILE
and when I use VS EMULATOR 5'' KITKAT(4.4) XXHDPI PHONE then it gives the error as YOU DO NOT HAVE PERMISSION TO MODIFY HYPER-V NETWORK ADAPTER SETTINGS
Can anyone please help?

It seems like you have an incomplete install of the Google Android Emulator and have to install one yourself.
Download Android Studio, open the SDK manager, and install the following components:
latest "Android SDK tools"
latest "Android SDK platform-tools"
latest "Android SDK build-tools"
Android 6.0 API 23 - SDK platform -- to build the latest kind of Android app
Android 5.0.1 API 21 - SDK platform -- to use the emulator successfully
Android 5.0.1 API 21 - ARM EaBI v7a System Image -- the emulator image which you can use on a machine with Hyper V activated
Then, open the AVD manager and create an emulator with the ARM system image.
Finally, go to tools->options->"Tools for Apache Cordova" -> Environmental variable overrides, and link to where your customized Android Studio is installed.

Related

Install and activate Android SDK to work on RAD Studio 11

Hi I install RAD studio 11 and select all die SDK to install as well, when I check the platforms it show that Delphi iOS Enterprise and Delphi Android Enterprise is installed.
How do I get to start creating Android and iOS apps because all the docs from Embarcadero are for other versions and nothing for Delphi 11.
Where do I get the SDK manager to setup my Andriod device on USB?
All that tI can find is under Tools -> Options
Under Deployment -> SDK Manager, but there I are SDK versions Android SDK 25.2.5 64-bit and Android SDK 25.2.5 32-bit
When I try to add and point to the suggested folder , when I go to next Ican't find the Delphi NDK Library path to finish the setup

Unable to create an emulator using android studio

I installed android studio on MacBook Pro but when I try to create a virtual device it shows me an error saying that cpu does not support vt-x.
First you need to download the SDKs you are interested in from Android Studio Tools menu -> Tools -> Android -> SDK Manager or enter image description here from the menu bar.
Don't forget to install the intel x86 emulator accelerator haxm from the SDK Manager - this will speed up significantly your android virtual device.
Then proceed as you mentioned in your question.
You can find more information here.
EDIT : From the comments your OS X version is 10.7.5 and Android Studio runs on 10.8.5 so you either :
Update your OS X installation
Install Eclipse and use the ADT plugin from google on your current configuration.

Unable to create AVD with android sdk on Mac OS

I have installed Android Studio and JDK1.8 on Mac OS. I followed the instructions and created a new application with API 15 as minimum sdk.
I tried to create an AVD from AVD manager to test my application by selecting create new virtual device->nexus 6->lollipop 22 armeabi_v7a android 5.1.1 as target. When I click finish, it takes me back to the first AVD manager screen without giving any errors and AVD is not created.
Where could be the problem?
First you need to download the SDKs you are interested in from Android Studio Tools menu -> Tools -> Android -> SDK Manager or from the menu bar.
Don't forget to install the intel x86 emulator accelerator haxm from the SDK Manager - this will speed up significantly your android virtual device.
Then proceed as you mentioned in your question.
You can find more information here.
EDIT : From the comments your OS X version is 10.7.5 and Android Studio runs on 10.8.5 so you either :
Update your OS X installation
Install Eclipse and use the ADT plugin from google on your current configuration.

Install old system image with Android Tools R21

I'm stumped after doing a fresh install of Android Development Tools r21. http://developer.android.com/sdk/index.html
I've installed this and I am looking to create an AVD for Android 2.1 (API 7) to test some things, but I cannot find an option to install the Android 2.1 system image. In fact, nothing prior to Android 4.0 is an available system image for an AVD.
I've installed the SDK Platform but it doesn't include the system image. Based on the Official Add-on Sites, I tried to go to https://dl-ssl.google.com/android/repository/sys-img.xml but this is essentially an empty XML file.
I've also checked the ADT Known Issues http://tools.android.com/knownissues
Finally, from How install old ADT13 in Eclipse I gleaned the possible add-on site of https://dl-ssl.google.com/android/repository/repository.xml, but that doesn't pull anything into the SDK Manager either.
Does anyone know how to get this working?
Android SDK Manager
Android SDK Manager - Add-on Sites
I've solved my own issue. Apparently starting in Android Developer Tools R21
System images of Android 4.0 and newer
Installed by checking the ARM EABI v7a System Image box in the Android SDK Manager
System images of older than Android 4.0
Installed by checking the SDK Platform box in the Android SDK Manager
This was the source of confusion.
Additionally you must restart Eclipse to get it to be an available option, which I didn't do.

Not loading AVD platform 4.0 (API Level 14) in Eclipse Indigo

I am using Eclipse SDK version 3.7.1 and in Windows 7. I am able to run older AVD but can't load the Platform 4.0 (API Level 14). What can be the reason?
I wonder you haven't installed ARM EABI v7a System Image while update/installing Android 4.0. Make sure all the dependencies are installed correctly.
Cheers
did you install the plugin for android4.0???
If you didnt install then follow the instruction given in the following link to install the plugin.
http://developer.android.com/sdk/eclipse-adt.html#installing
now open the eclipse IDE and click on white colored down arrow image button in the tool bar of the IDE to open the Android SDK Manager.now select packages which are not installed and click on install packages button to install the API 14.It will take some time to install.After the installation you'll find that now API 14 is loaded in eclipse.Now enjoy the android4.0.I hope you find this answer useful.

Categories

Resources