Ho creato un nuovo progetto di PhoneGap 2.7, e aprire il progetto utilizzando Eclipse ed emulatore di Android "utilizzare l'opzione GPU" con l'uso, qui è la screenshotAVD "GPU uso host" causare schermo nero durante il test di applicazioni
Se non uso "usa l'opzione GPU", il logo può essere visualizzato, ma lo sfondo superiore è ancora in nero.
ci dovrebbe essere un logo al centro di lampeggiare e con uno sfondo grigio (non nero), nessuno sa che cosa è il problema?
06-14 02:02:54.799: E/GLUtils(2290): GL ERROR - after At the end of blitTileFromQueue()() glError (0x501)
06-14 02:02:54.799: E/TransferQueue(2290): blitTileFromQueue ERROR: fboId 1, destTexId 5, srcTexId 2, textureWidth 256, textureHeight 256
06-14 02:02:54.860: E/GLUtils(2290): GL ERROR - after At the end of blitTileFromQueue()() glError (0x501)
06-14 02:02:54.860: E/TransferQueue(2290): blitTileFromQueue ERROR: fboId 1, destTexId 9, srcTexId 2, textureWidth 256, textureHeight 256
06-14 02:02:54.968: E/GLUtils(2290): GL ERROR - after At the end of blitTileFromQueue()() glError (0x501)
06-14 02:02:54.968: E/TransferQueue(2290): blitTileFromQueue ERROR: fboId 1, destTexId 13, srcTexId 2, textureWidth 256, textureHeight 256
06-14 02:02:55.027: E/GLUtils(2290): GL ERROR - after At the end of blitTileFromQueue()() glError (0x501)
06-14 02:02:55.027: E/TransferQueue(2290): blitTileFromQueue ERROR: fboId 1, destTexId 6, srcTexId 2, textureWidth 256, textureHeight 256
06-14 02:02:55.107: E/GLUtils(2290): GL ERROR - after At the end of blitTileFromQueue()() glError (0x501)
06-14 02:02:55.107: E/TransferQueue(2290): blitTileFromQueue ERROR: fboId 1, destTexId 10, srcTexId 2, textureWidth 256, textureHeight 256
06-14 02:02:55.147: E/GLUtils(2290): GL ERROR - after At the end of blitTileFromQueue()() glError (0x501)
06-14 02:02:55.147: E/TransferQueue(2290): blitTileFromQueue ERROR: fboId 1, destTexId 15, srcTexId 2, textureWidth 256, textureHeight 256
06-14 02:02:55.237: E/GLUtils(2290): GL ERROR - after At the end of blitTileFromQueue()() glError (0x501)
06-14 02:02:55.237: E/TransferQueue(2290): blitTileFromQueue ERROR: fboId 1, destTexId 7, srcTexId 2, textureWidth 256, textureHeight 256
06-14 02:02:55.277: E/GLUtils(2290): GL ERROR - after At the end of blitTileFromQueue()() glError (0x501)
06-14 02:02:55.288: E/TransferQueue(2290): blitTileFromQueue ERROR: fboId 1, destTexId 11, srcTexId 2, textureWidth 256, textureHeight 256
06-14 02:02:55.317: E/GLUtils(2290): GL ERROR - after At the end of blitTileFromQueue()() glError (0x501)
06-14 02:02:55.327: E/TransferQueue(2290): blitTileFromQueue ERROR: fboId 1, destTexId 16, srcTexId 2, textureWidth 256, textureHeight 256
06-14 02:02:55.357: E/GLUtils(2290): GL ERROR - after At the end of blitTileFromQueue()() glError (0x501)
06-14 02:02:55.357: E/TransferQueue(2290): blitTileFromQueue ERROR: fboId 1, destTexId 4, srcTexId 2, textureWidth 256, textureHeight 256
06-14 02:02:55.417: E/TransferQueue(2290): blitTileFromQueue ERROR: fboId 1, destTexId 8, srcTexId 2, textureWidth 256, textureHeight 256
06-14 02:02:55.447: E/GLUtils(2290): GL ERROR - after At the end of blitTileFromQueue()() glError (0x501)
06-14 02:02:55.457: E/TransferQueue(2290): blitTileFromQueue ERROR: fboId 1, destTexId 12, srcTexId 2, textureWidth 256, textureHeight 256
Lo stesso problema qui. –
Questa non è una risposta definitiva, ma qui ci sono alcune cose che hanno reso 'WebView' diventato nero nei miei progetti (non-PhoneGap): Impostare' layout_width' e/o 'layout_height' su' wrap_content' (o no impostandoli del tutto, se si crea il WebView a livello di codice), non abilitando Javascript quando una pagina lo utilizza, e non impostando una codifica del contenuto per i documenti HTML (sia come intestazione che in un tag 'meta'). L'ultima è probabilmente la causa più probabile, ma senza guardare il tuo codice, è difficile sapere esattamente quale sia il problema. –
@david Brown accendo Android: hardwareAccelerato a "falso" in AndroidManifest.xml per risolvere il problema, ma non mi piace l'hardware Accelerare le funzionalità (uso Android Studio ora e genimotion, ho lo stesso problema) – hkguile