Apache Cordova not Allowing me to run in visual studio - apache

Every time i try to create a new app ( trying to look at cross platform apps) in visual studio I get this error:
I have installed the android SDK , is there something else I should be installing?
Thanks

It seems you installed the android SDK but didn't run it to install the platform tools and the SDK APIs.
Run the "android" command on your computer, it will start the android SDK manager.
Then you have to install The android SDK tools and android platform for at least SDK 19.
One quick way is to just click the install button on the bottom right of the window, it should install automatically the latest SDK tools and paltform tools.
If you're short on disk space I recommend you uncheck all that's not usefull if you only want to use Cordova and not plan to do native dev :
the samples
the system images (unless you want to use the emulator, in this case just install one, don't need all)
the documentations

This is simply telling you that the x86 emulator system image is missing. If you do not plan on using the Android Emulator or will only be using an ARM image, you can ignore this warning. We're working to ensure messaging is more nuanced in this area in the future.

Related

Unable launch instant app from AS on phone

I want to debug my instant app from the android studio, but cannot:
try using the default configuration for the instant app, but get this
try using terminal by ia run instantapp-debug.zip (ia - jar from extras folder) or adb install-multiple -r -t --instantapp *.apk, but in both cases get the error db: failed to install \extras\google\instantapps\tools\apks\release\supervisor_armeabi-v7a.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE]
can anyone help me this it?
Versions: Android Studio 3.1.3, gradle plugin 3.3.0-alpha02, gradle version 4.8, ia sdk 1.3.0
PS: instant app published and work fine in store (now in an internal test)
PS2: ia can be deployed to another phone. So the problem only with a specific phone.
For anyone else who runs into this issue, make sure you have the newest version of the Google Play Instant Development SDK (at least SDK 1.5).
You can find it in the Tools > Android > SDK Manager > SDK Tools. Check the box next to the Google Play Instant SDK and apply the upgrade.

how to update Google Play service on Emulator android studio

I got the Key and set restrict, but I still cannot open map on the Emulator. On the build.gradle, I saw that the google play service is 9.8.0 now, and I think this is the newest one. However, when I run the sample-app, it say I need to update Google Play service?
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.google.android.gms:play-services-maps:9.+'
}
I check on the Android Emulator that it doesn't have Play store. Is it the missing one? I follow this link
https://developers.google.com/maps/documentation/android-api/start#step_2_install_the_google_play_services_sdk
to install Google Play services but I cannot found anything that can help. My Android studio version is 2.2.2.
I download the GooglePlayServices apk file (com.google.android.gms-9.8.77-440-135396225-APK4Fun.com), I dragged and dropped it into emulator to install, but it has error
Error: INSTALL FAIL INCOMPATIABLE
W/GooglePlayServicesUtil: Google Play services out of date. Requires 9877000 but found 9683470
I need your help.
After 3 days of searching. I found out that the Maps is unavailable to display on Emulator this time. All we have to do is run app on physical device and it will work.
You need to change on build.gradle for the following:
compile 'com.google.android.gms:play-services:9.0.2'
First, try to check your SDK Manager if the Google Play service there is updated. Also, try to open the stand alone SDK Manager and update the Android SDK Tools, The Android SDK Platform-tools and Android SDK Build-tools.
To update the Google Play service in the emulator itself, check this SO question. It will explain you on how to do this.
Another possible reason for this issue if you uses play-services:9.8.0 is found in this thread. It is stated here that the updated Android tools (which contains the Android Emulator system image) aren't out yet. So in the meantime, try to use downgrade version of play, service instead of 9.8.0.
For more information, check this documentation on how to setup Google Play Services
In the Android SDK Manager, you must install "Google APIs (x86 System Image)" under "Android 4.4.2 (API 19)". Quit Eclipse and restart it.
Then create a new android virtual device in AVD manager and choose "Google APIs x86 (Google Inc.) - API Level 19" as target. Check "Use Host GPU" to ensure the drawing of the map will be accelerated.
That's it, this new emulator will have Play Services preinstalled and it will run faster because it's a x86 image.
Yeah, Thank you guys. I can make it work on Emulator now. I use the
compile 'com.google.android.gms:play-services-maps:9.6.0'

Unable to Config Android sdk in Mobile First Foundation 7.1

I am working on hybrid Apps over IBM Mobile First Foundation on eclipse,I want to build an android app of the project, but when i configure the android SDK location and click on apply, nothing happens
Help!
The question is not clear enough... what are you applying? where? are you getting any errors, if yes, what are they?
When using MobileFirst Studio in Eclipse, the Android project can be generated in two ways.
By using the Google ADT tools.
Install the Eclipse plug-in and re-build the project by right-clicking the application folder and selecting Run As > Run on MobileFirst Development Server
By providing the path to Android Studio.
First install Android Studio and then, in Eclipse, navigate to File > Preferences > MobileFirst. Provide the path to the folder containing the executable. For example in Mac OS X that would be /Applications.
Then right-click on the Android environment folder and select Run As > Android Studio project.
Note: be sure not to convert the project to Gradle structure - this is currently not supported.

Build an android app on Windows Device

I have an Android app build using Ionic Framework. Now, how to deploy and test that android app on Windows phone (what tools are to be used and steps followed)..
1.Get Windows 8 OS.
2.Download and Install Microsoft Visual Studio Update 4
3.Then From there, you can use the IDE to create Cordova or Ionic Project( provided Ionic Plugins and Project have been Installed), Also you can also use the Command Line Interface to create your project, I'll advice the Command Line Interface as the best OPTIONS.
4.From the means, you can build your and will have the .appx (for WINDOWS STORE APP) that you can sideload to your actual device.
You need to register your windows phone to your windows phone developer account then you will be able to install it in your phone here is link, that show you how to register device.
https://msdn.microsoft.com/en-us/library/windows/apps/dn614128.aspx#prerequisites27
ionic is not supporting windows platform properly. i had developed application in android and ios using ionic but when i start to build those app for windows platform then so many feature of lonic-framework were not properly working. it require too many custom changes in ionic library as well.

Titanium Studio My Application does not launch in Android emulator

I am new to Titanium studio and bothered by a problem: I installed Titanium sdk 1.7.1, android 2.2,android 2.1 updates on mac 10.6.6 and I am able to successfully launch android emulator but emulator does not launch any of my application even kitchen sink example..
[INSTALL_FAILED_MISSING_SHARED_LIBRARY] - this error says that application tries to use libraries, that your system doesn't contain. In most cases it tries to use Google API's (and KitchenSink too). So open 'tiapp.xml' in your project, click 'configure...' link and under 'Android' section choose android version with Google API's in 'Default Android SDK' text box. If no version with Google API's - install it using AVD.