-
1. Re: app not installed error
kerrishottsMar 18, 2017 11:26 AM (in response to SudeepAdobe)
Please indicate what plugins & versions you have installed and what versions of Android you've encountered the problem on. You might want to remove the app from your device and reinstall to see if that addresses the issue.
My guess is you've got Crosswalk installed. In which case, you're going to need to configure it to emit only the ARM APK. See this post (Re: crosswalk 2.2.0 for mutliple platforms) for a possible solution.
-
2. Re: app not installed error
SudeepAdobe Mar 19, 2017 4:44 AM (in response to SudeepAdobe)Hi,
Thanks for response. Yes, I've got crosswalk installed. I'm getting only x86 built, which I tried to install on my phone. I found a way to force PGB to emit ARM apk and now it's working fine.
I'm new to PGB. I switched from Intel XDK. From past three days I'm tring to understand PGB and finally I could build my app but when I install apk on my device I'm getting nothing but a blank screen. At first splash screen has appeared and then it goes blank. Do I need to do anything?
Please help.
-
3. Re: app not installed error
kerrishottsMar 19, 2017 1:22 PM (in response to SudeepAdobe)
"blank" usually means you've got a JavaScript error that's preventing your app's initialization sequence from completing. You might try debugging using "chrome://inspect" on your desktop machine and attaching your device via USB (be sure to enable USB debugging). If that doesn't work, you may need to use PGB's debugging tools to see what's happening. Also check "adb logcat" to see if anything is being logged to the device's logs.
-
4. Re: app not installed error
SudeepAdobe Mar 20, 2017 10:58 AM (in response to SudeepAdobe)Okay but the app is running fine with Intel XDK build. However, I tried 'chrome://inspect' nothing is coming over there. I even tired enabling Phonegap dedubbing, so far nothing has showed up.
I'm not sure where it went wrong. When the Intel XDK build is working fine, I don't understand why PGB gives me a blank screen.
Please help.
-
5. Re: app not installed error
kerrishottsMar 21, 2017 12:01 PM (in response to SudeepAdobe)
Without seeing code, error messages (if any(, and device logs, it's next to impossible to know what's going on. Please check your device console for messages around the time of starting the app to see if anything interesting pops up there. Also note that I'm no XDK expert, so your code might not tell me anything (but might someone else).
Also, make sure you aren't building with a signing key on Android. That will generate a release build, and to debug using your computer you'll need a debug build.
Alternatively you can use PhoneGap's Weinre to debug, which might be of use (depending on the issue): Weinre | PhoneGap Docs
-
6. Re: app not installed error
SudeepAdobe Mar 22, 2017 1:14 AM (in response to SudeepAdobe)Okay. I understand. I tired debugging just as you suggested but I don't see any error messages. Please check the screens below
This is my config.xml
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" id="com.XXX.XXX" versionCode="57" version="1.0.0.0">
<name>Tim The Traveler</name>
<description>An adventurous space journey of an astronaut Tim.</description>
<author email="sudeepmailin@gmail.com">Sudeep Kumar Vundurty</author>
<platform name="android" />
<icon src="icon.png" />
<preference name="permissions" value="none"/>
<preference name="android-targetSdkVersion" value="23" />
<feature name="http://api.phonegap.com/1.0/network"/>
<feature name="http://api.phonegap.com/1.0/notification"/>
<preference name="orientation" value="landscape" />
<preference name="fullscreen" value="true" />
<gap:config-file platform="ios" parent="UIStatusBarHidden"><true/></gap:config-file>
<gap:config-file platform="ios" parent="UIViewControllerBasedStatusBarAppearance"><false/></gap:config-file>
<preference name="deployment-target" value="8.0" />
<preference name="android-minSdkVersion" value="16" />
<plugin name="cordova-plugin-crosswalk-webview" source="npm" />
<plugin name="cordova-build-architecture" spec="https://github.com/MBuchalik/cordova-build-architecture.git#v1.0.1" source="git" />
<plugin name="cordova-plugin-wkwebview-engine" />
<plugin name="cordova-plugin-file" />
<plugin name="cordova-plugin-httpd" />
<plugin name="cordova-plugin-whitelist" source="npm" />
<access origin="*" />
<gap:plugin name="cordova-plugin-facebook4" source="npm" spec="1.7.3">
<param name="APP_ID" value="XXX" />
<param name="APP_NAME" value="XXX" />
</gap:plugin>
<gap:plugin name="cordova-plugin-game" source="npm" >
<param name="APP_ID" value="XXX" />
</gap:plugin>
<preference name="AutoHideSplashScreen" value="true"/>
<preference name="SplashScreenDelay" value="3000" />
<plugin name="cordova-plugin-splashscreen" source="npm" />
<plugin name="cordova-plugin-inappbrowser" source="npm" />
<plugin name="https://github.com/AppsFlyerSDK/cordova-plugin-appsflyer-sdk.git" source="npm" />
<plugin name="https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin#5.0.10" source="npm" />
<plugin name="https://github.com/Pushwoosh/pushwoosh-phonegap-3.0-plugin#9bc8611bb2b7f398988e54ccb60bcc6 534c3bad3" source="npm" />
<plugin name="https://github.com/cranberrygame/cordova-plugin-ad-chartboost" source="npm" />
<plugin name="https://github.com/cranberrygame/cordova-plugin-analytics-flurryanalytics" source="npm" />
<plugin name="https://github.com/cranberrygame/cordova-plugin-exitappatsecond" source="npm" />
<plugin name="https://github.com/cranberrygame/cordova-plugin-payment-iap" source="npm" />
<plugin name="https://github.com/cranberrygame/cordova-plugin-share-reviewapp" source="npm" />
</widget>
Please help. I'm very close to publishing the game.
-
7. Re: app not installed error
SudeepAdobe Mar 28, 2017 12:34 AM (in response to SudeepAdobe)@kerrishotts Hi, did you get any chance to look into the issue?