-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App works fine in Ripple Emulator but i get White Screen of Death in Android Emulator #200
Comments
If you haven't reviewed them, there are troubleshooting topics here: http://drupalgap.org/troubleshoot Next, I'd recommend just following the Eclipse Hello World for PhoneGap 2.9.0 and make sure that can run by itself in the Android emulator. Once that is working, bring DrupalGap into the PhoneGap project. Also, make sure your AndroidManifest.xml file is using, for example: android:minSdkVersion="7" android:targetSdkVersion="16" Either way, for sure the best approach is just getting the PhoneGap 2.9.0 Hello World working in Eclipse. Additionally, make sure LogCat is enabled in Eclipse and you should be able to see debug messages output to the console. You can set drupalgap.settings.debug = true to see debug info. |
I just wanted to update for anyone else that might be having this issue. It turns out that when I was using the emulator it didn't' have internet there for it would fail with this error, "Application Error: The connection to the server was unsuccessful... index.html". I opened up a browser in the emulator and no pages would load. I then followed this tip on stackoverflow.com (http://stackoverflow.com/questions/2437366/android-emulator-internet-access). This worked and my app loaded. Hope that helps anyone else trying to get an app working using phonegap, drupalgap and drupal. |
As I am using quickstart for my Drupal development, and I recently upgraded to Ubuntu 14.04, to get drupalgap working in Android emulator, I needed to complete a few steps. Hope this helps someone! First we need to define a port. Add this line to
Then we need to add the port to apache’s virtual host. Edit
Then we need to restart apache by executing this command in terminal:
Now our dev website will be available on http://localhost:55555 |
I am able to run my app fine in the ripple emulator in chrome. When I try to switch to eclipse and run it through eclipse with the emulator I just get a white screen of death.
Any tips on switching code back to emulator that I might not be aware of?
Any way to see if drupalgap is even loading?
I have tried so many things at this point I have lost track and hope.
Thanks for your help.
The text was updated successfully, but these errors were encountered: