App for Android created with PhoneGap didn't work on Android 4.1.2
up vote
0
down vote
favorite
I made an app with PhoneGap Desktop App (created Helloworld project, then edited it), then made an apk-file with build.phonegap.com. I didn't add any platform to the project, it had platform 'browser' when created. The app i got works perfect on Android 4.4.2 and above, until 7.x.x, but doesn't work properly on Android 4.1.2. (I do not have the Android SDK installed, I tested it on the PhoneGap Developer, on the phones of my friends and on my own, and on the KOPLAYER Android emulator for Windows). On phone with Android 4.1.2 the resulting application displays html-page from it with some it's elements, but it looks like styles and scripts from external files do not work, and the Canvas element is not displayed at all.
Screenshots of this application running on:
Android 4.1.2
Android 4.4.4
Android 5.1
I have one suggestion. As I understand it, build.phonegap.com chooses platforms for applications. And probably, the Android platform in this case is not suitable for devices with Android 4.1.2. Will the problem be solved if I manually add Android 4.1.2 platform to the project? (cordova platform add android@x4.1.2
).
I don’t have a good idea how PhoneGap Build works. Will the Android platform added to the project be used when creating the application, or will it be replaced with another one, chosen by PhoneGap Build service?
But I'm not sure that this is the reason. The site cordova.apache.org says that Cordova supports Android 4.1.x, if I understood correctly.
This application files on github.com and the resulting apk
android cordova apk phonegap
add a comment |
up vote
0
down vote
favorite
I made an app with PhoneGap Desktop App (created Helloworld project, then edited it), then made an apk-file with build.phonegap.com. I didn't add any platform to the project, it had platform 'browser' when created. The app i got works perfect on Android 4.4.2 and above, until 7.x.x, but doesn't work properly on Android 4.1.2. (I do not have the Android SDK installed, I tested it on the PhoneGap Developer, on the phones of my friends and on my own, and on the KOPLAYER Android emulator for Windows). On phone with Android 4.1.2 the resulting application displays html-page from it with some it's elements, but it looks like styles and scripts from external files do not work, and the Canvas element is not displayed at all.
Screenshots of this application running on:
Android 4.1.2
Android 4.4.4
Android 5.1
I have one suggestion. As I understand it, build.phonegap.com chooses platforms for applications. And probably, the Android platform in this case is not suitable for devices with Android 4.1.2. Will the problem be solved if I manually add Android 4.1.2 platform to the project? (cordova platform add android@x4.1.2
).
I don’t have a good idea how PhoneGap Build works. Will the Android platform added to the project be used when creating the application, or will it be replaced with another one, chosen by PhoneGap Build service?
But I'm not sure that this is the reason. The site cordova.apache.org says that Cordova supports Android 4.1.x, if I understood correctly.
This application files on github.com and the resulting apk
android cordova apk phonegap
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I made an app with PhoneGap Desktop App (created Helloworld project, then edited it), then made an apk-file with build.phonegap.com. I didn't add any platform to the project, it had platform 'browser' when created. The app i got works perfect on Android 4.4.2 and above, until 7.x.x, but doesn't work properly on Android 4.1.2. (I do not have the Android SDK installed, I tested it on the PhoneGap Developer, on the phones of my friends and on my own, and on the KOPLAYER Android emulator for Windows). On phone with Android 4.1.2 the resulting application displays html-page from it with some it's elements, but it looks like styles and scripts from external files do not work, and the Canvas element is not displayed at all.
Screenshots of this application running on:
Android 4.1.2
Android 4.4.4
Android 5.1
I have one suggestion. As I understand it, build.phonegap.com chooses platforms for applications. And probably, the Android platform in this case is not suitable for devices with Android 4.1.2. Will the problem be solved if I manually add Android 4.1.2 platform to the project? (cordova platform add android@x4.1.2
).
I don’t have a good idea how PhoneGap Build works. Will the Android platform added to the project be used when creating the application, or will it be replaced with another one, chosen by PhoneGap Build service?
But I'm not sure that this is the reason. The site cordova.apache.org says that Cordova supports Android 4.1.x, if I understood correctly.
This application files on github.com and the resulting apk
android cordova apk phonegap
I made an app with PhoneGap Desktop App (created Helloworld project, then edited it), then made an apk-file with build.phonegap.com. I didn't add any platform to the project, it had platform 'browser' when created. The app i got works perfect on Android 4.4.2 and above, until 7.x.x, but doesn't work properly on Android 4.1.2. (I do not have the Android SDK installed, I tested it on the PhoneGap Developer, on the phones of my friends and on my own, and on the KOPLAYER Android emulator for Windows). On phone with Android 4.1.2 the resulting application displays html-page from it with some it's elements, but it looks like styles and scripts from external files do not work, and the Canvas element is not displayed at all.
Screenshots of this application running on:
Android 4.1.2
Android 4.4.4
Android 5.1
I have one suggestion. As I understand it, build.phonegap.com chooses platforms for applications. And probably, the Android platform in this case is not suitable for devices with Android 4.1.2. Will the problem be solved if I manually add Android 4.1.2 platform to the project? (cordova platform add android@x4.1.2
).
I don’t have a good idea how PhoneGap Build works. Will the Android platform added to the project be used when creating the application, or will it be replaced with another one, chosen by PhoneGap Build service?
But I'm not sure that this is the reason. The site cordova.apache.org says that Cordova supports Android 4.1.x, if I understood correctly.
This application files on github.com and the resulting apk
android cordova apk phonegap
android cordova apk phonegap
edited Nov 10 at 18:45
asked Nov 10 at 6:32
Inga Buhtilova
43
43
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53236562%2fapp-for-android-created-with-phonegap-didnt-work-on-android-4-1-2%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown