How to get cordova android 3.5.1 for Phonegap 3.5 local android build? - phonegap-build

I am working with Phonegap 3.5.0-0.20.14 version which has cordova 3.5.0-0.2.4. But as per this post which says about security fixes in cordova 3.5.1,
http://phonegap.com/blog/2014/08/07/cordova-android-3_5_0-patched-with-security-fixes/
How can i get this cordova-android 3.5.1 for Phonegap local android builds ? I am new bee to Phonegap.
Regards,
Swapna

cordova platform add android#3.5.1 --usenpm
http://cordova.apache.org/announcements/2014/08/04/android-351.html

Related

Unable to find Android SDK API 28 [Appcelerator Titanium]

I am trying to run my code on Android emulator in Appcelerator Titanium but error comes during compilation time.
Error:
Unable to find Android SDK API 28
I am running this code on latest Titanium SDK version 8.0.0.GA
Screenshot:
I have downloaded Android SDK 28 API and created new Android emulator.
Still not fixed. Help.
If you use appc ti setup android in a terminal is the PATH to your Android SDK correct?
I've also found in the past that there can sometimes be updated agreements that must be accepted in either XCode or Android Studio in order to proceed.
If you downgrade your Titanium SDK version to 7.X will it still build fine?
I faced this issue and nothing helped. Install Android 9.0 (API 28) and things will work like a charm.

DJI Mobile UXSDK 4.8.1 issue with Mapbox SDK

The Gradle of my android application has the following versions of libraries
DJI Mobile UXSDK version: 4.7
Mapbox Version :4.2.1
App works fine with the above version of libraries.
When I try to upgrade the DJI UXSDK to 4.8.1 , its making me to force upgrade Mapbox SDK to latest versions (where many attributes and functions have been changed). Why is it necessary to upgrade the Mapbox SDK ?
Any help would be appreciated!
I think DJI MSDK have upgraded Mapbox UXSDK to 5.5.1, that's why it is asking me to force upgrade Mapbox SDK.

Ionic, cordova, phonegap, jquery Bluetooth plugin

I want to create a mobile app with Ionic. I need a bluetooth plugin that can connect multiple devices regardless of the operating system (can be ios or android).
Does cordova or phonegap or jquery support this?
There are several Cordova plugins to manage with bluetooth, see:
http://cordova.apache.org/plugins/?q=bluetooth
For example:
https://github.com/randdusing/cordova-plugin-bluetoothle
or
https://github.com/don/BluetoothSerial
These plugins are available both for iOS and Android, and as Ionic is based on Cordova you can develop your Ionic app using all Cordova plugins.

PhoneGap Build doesn't update the app

PhoneGap Build shows successful build and log for Android, shows updated version on the PhoneGap Build web page, but when I install Android shows old version and the APK file is also old. I know for sure because I just put 2Mb of dummy images and the sise of the APK hasn't changed, so the problem is with build
Edit: it was a 1-day glitch, it works OK now
we see this problem every now and then. Our solution to it is to remove and ad back in the affected platform. Assuming you are also using the latest cordova tools do the following:
cordova platform remove android
cordova platform add android

Debugging phonegap app in netbeans

I want to make phonegap app in netbeans 8.0
I have my tablet connected with USB and I can run my app on tablet from netbeans.
Problem is that I can't debug. All console.log massages are ignored in netbeans.
How can I have debug infos in netbeans?
You left some details. What OS (Android, iOS...)? Which OS version? What Cordova version do you have?
For Android, you must have Android 4.4+ and then you will be able to debug Cordova application (NetBeans does not support Phonegap). Now important is also version of Cordova. With Cordova 3.3, nothing else is needed. However with Cordova 3.4, the android manifest file has changed and it was too late to handle this change in NetBeans 8.0. Have a look at this issue 242320 how to enable debugging with Cordova 3.4+ in NetBeans 8.0
Now if you have iOS, you need to be on Mac and have proper iOS developer certificate.

Resources