Esri / quickstart-map-phonegap

ArcGIS JavaScript samples for use with PhoneGap/Cordova
35 stars 37 forks source link

Genymotion emulator issues for Android #10

Open andygup opened 9 years ago

andygup commented 9 years ago

This is just a notification that there are known issues with Genymotion and hybrid JavaScript apps as related to slow map response. It's a genymotion/WebView issue. They have reproduced this, they acknowledged it's a problem and they are going to try and get it fixed.

My recommendation is to directly use a device and bypass the emulator.

Reference Genymotion Support Ticket 15266.

andygup commented 8 years ago

Update: Still no resolution at Genymotion @ v2.7.2. Similar problems now also exist on AndroidStudio emulator.

This may be related to issues related to GPU support. Errors in Android logcat that look similar to this have been reported: E/eglCodecCommon: **** ERROR unknown type 0x4e (glSizeof,80).

Setting hardware acceleration in the Android manifest doesn't seem to have any affect: <manifest android:hardwareAccelerated="false" . . .

Recommendation: continue to use actual devices were possible.

andygup commented 8 years ago

Update: possible solution.

In AndroidManifest, set android:hardwareAccelerated="false" in both the <manifest> tag and <application> tag. It seems that setting this to false in both places resulted in a significant performance boost on MacOS. Haven't had the opportunity to test this on Windows.