Android Studio中的项目功能不再强大

时间:2014-08-20 16:23:33

标签: android gradle android-studio android-gradle

我最初将Adobe Marketing Cloud(Omniture)v3x导入到我的项目中,然后改变主意并将其替换为v4。我遇到了v4的问题,并决定将其删除并返回原来的v3库。当我昨晚测试它时,它工作正常,并发送像我预期的点击。今天早上我把它解雇了,项目根本不再有效。它试图启动,似乎无法远程加载资产(以前从来没有问题),并最终崩溃而没有给我一个有意义的例外。我得到的只是这样的屏幕和屏幕:

08-20 12:17:05.018  31576-31777/com.newspress.hurricanehub D/dalvikvm﹕ JIT unchain all for threadid=1
08-20 12:17:05.769  31576-31777/com.newspress.hurricanehub W/dalvikvm﹕ threadid=32: spin on suspend #1 threadid=1 (pcf=0)
08-20 12:17:06.519  31576-31777/com.newspress.hurricanehub W/dalvikvm﹕ threadid=32: spin on suspend #2 threadid=1 (pcf=0)
08-20 12:17:06.519  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ "downloader" prio=5 tid=32 RUNNABLE
08-20 12:17:06.519  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ | group="main" sCount=0 dsCount=0 obj=0x43195640 self=0x61f07738
08-20 12:17:06.519  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ | sysTid=31777 nice=10 sched=0/0 cgrp=apps/bg_non_interactive handle=1643150224
08-20 12:17:06.519  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ | state=R schedstat=( 0 0 0 ) utm=4 stm=1 core=0
08-20 12:17:06.519  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
08-20 12:17:06.519  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:405)
08-20 12:17:06.519  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.squareup.okhttp.Connection.upgradeToTls(Connection.java:208)
08-20 12:17:06.519  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.squareup.okhttp.Connection.connect(Connection.java:161)
08-20 12:17:06.519  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.squareup.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:246)
08-20 12:17:06.519  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:186)
08-20 12:17:06.519  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.squareup.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:375)
08-20 12:17:06.519  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.squareup.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:328)
08-20 12:17:06.519  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.squareup.okhttp.internal.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:196)
08-20 12:17:06.519  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.squareup.okhttp.internal.http.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
08-20 12:17:06.519  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.squareup.okhttp.internal.http.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:25)
08-20 12:17:06.529  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.mapbox.mapboxsdk.tileprovider.tilesource.WebSourceTileLayer.getBitmapFromURL(WebSourceTileLayer.java:174)
08-20 12:17:06.529  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.mapbox.mapboxsdk.tileprovider.tilesource.WebSourceTileLayer.getDrawableFromTile(WebSourceTileLayer.java:120)
08-20 12:17:06.529  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.mapbox.mapboxsdk.tileprovider.tilesource.WebSourceTileLayer.getDrawableFromTile(WebSourceTileLayer.java:28)
08-20 12:17:06.529  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.mapbox.mapboxsdk.tileprovider.modules.MapTileDownloader$TileLoader.loadTile(MapTileDownloader.java:154)
08-20 12:17:06.529  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at com.mapbox.mapboxsdk.tileprovider.modules.MapTileModuleLayerBase$TileLoader.run(MapTileModuleLayerBase.java:316)
08-20 12:17:06.529  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
08-20 12:17:06.529  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
08-20 12:17:06.549  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ at java.lang.Thread.run(Thread.java:841)
08-20 12:17:06.569  31576-31777/com.newspress.hurricanehub I/dalvikvm﹕ [ 08-20 12:17:06.569 31576:31777 I/dalvikvm ]
    "main" prio=5 tid=1 RUNNABLE JIT

我可以发布我的完整日志,如果这会有所帮助,但有很多。我已经尝试过我所知道的一切。我将模块从项目中取出并重新插入,我尝试删除我的gradle和iml文件并重新导入,我甚至将项目重置为之前的提交,之后我更改了任何库或者做了任何会损害项目的事情。同样的结果,它现在完全被打破,不会加载任何东西,并最终崩溃。任何见解?在这一点上,我真的不知道在哪里寻找或尝试什么。

1 个答案:

答案 0 :(得分:0)

原来我错误地认为我在代码中发生的变化导致了问题。一旦我意识到旧的apks也被破坏了,进一步的测试显示地图的数据流试图加载这么多的多边形,它正在崩溃Linux内核。一旦我从地图中删除了多边形,一切正常。如果有什么东西坏了,我总是认为我可能已经打破了它,但这并不总是一个安全的假设!