2013-07-05 26 views
-1

我更新爲最新版本的ADT Bundle,現在我無法運行包含我的廣告網絡jar文件的任何應用程序。Eclipse ADT 22.0.1 - 包括庫在內的應用程序似乎無法工作

Failed resolving Lcom/nezero/testapp; interface 33 'Lcom/adsdk/sdk/AdListener;' 

然後用

D/AndroidRuntime(29555): Shutting down VM 
W/dalvikvm(29555): threadid=1: thread exiting with uncaught exception (group=0x40dc4930) 
E/AndroidRuntime(29555): FATAL EXCEPTION: main 
E/AndroidRuntime(29555): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.nezero.testapp/com.nezero.testapp.TestActivity}: java.lang.ClassNotFoundException: Didn't find class "com.nezero.testapp.TestActivity" on path: /data/app/com.nezero.testapp-1.apk 

是的,我可以告訴大家,該活動是完全在我的清單文件中描述的應用彈,此版本更新到ADT的最新版本之前的工作。

<activity 
     android:name="com.nezero.testapp.TestActivity" 
     android:label="@string/app_name" > 
     <intent-filter> 
      <action android:name="android.intent.action.MAIN" /> 

      <category android:name="android.intent.category.LAUNCHER" /> 
     </intent-filter> 
    </activity> 

這是非常令人沮喪,我得與需要儘快修復bug的應用程序,我甚至無法工作拷貝調試!

+0

http://stackoverflow.com/questions/16596969/libraries-do-not-get-added-to-apk-anymore-after-upgrade-to-adt-22。檢查這個。 – Raghunandan

+0

不敢相信,沒有出現在谷歌搜索,或當我試圖問這個問題!猜猜這是由於沒有人發佈logcat錯誤或完整的ADT版本。 – Ne0

回答

0

經過大量搜索後,我在Java Build Path中發現了一個問題,未檢查Android Private Libraries!

Checking Android Private Libraries

這個做我所有的應用程序後開始工作了!

一個惱人的bug!

+0

謝謝,有用。 –

相關問題