我要瘋了,試圖設置ADT Eclipse !!!!! (< - 正如過度使用感嘆號所證明的那樣)設置ADT Eclipse
我只想運行基本的HelloWorld示例,沒有任何LogCat錯誤,這在我安裝後第一次運行它時起作用,但在重新啓動後個人電腦,我得到噸的錯誤。該程序仍然可以運行,但在更復雜的項目中,我不知道該應用程序是因爲我還是因爲設置不良而崩潰。
這裏是我試過的東西:
- 許多不同的測試配置
- 去除API19和使用API18代替
- [(使用不同的設置,以及用我的實際電話自動真空澱積)在我的多用戶PC上],使用環境變量ANDROID_SDK_HOME和user.home中的首選項
- 32位和64位版本,單用戶和多用戶Windows 7安裝(我甚至對單個用戶進行了全新的32位Win7安裝)通常我有我的家呃在d:但我也試圖與默認設置
- 捶胸頓足,希望這種偏差會自行消失,或者這一切都只是一場噩夢
最終的結果總是相同的用戶,它可能會第一次運行,但是當運行該項目時,我會遇到很多錯誤。
所以我真的很感謝這方面的一些幫助,無論是通過指向我做錯了什麼或如何設置ADT的分步指南。
下面是HelloWorld項目完整的錯誤日誌(雖然它的實際的電話,在那裏我得到很多不同的誤差對嘗試它時看起來不一樣):
12-11 07:11:42.541: E/PowerManagerService-JNI(275): Couldn't load power module (No such file or directory)
12-11 07:11:42.862: E/SurfaceFlinger(37): ro.sf.lcd_density must be defined as a build property
12-11 07:11:46.991: E/SoundPool(275): error loading /system/media/audio/ui/Lock.ogg
12-11 07:11:46.991: E/SoundPool(275): error loading /system/media/audio/ui/Unlock.ogg
12-11 07:11:47.221: E/EventHub(275): could not get driver version for /dev/input/mouse0, Not a typewriter
12-11 07:11:47.221: E/EventHub(275): could not get driver version for /dev/input/mice, Not a typewriter
12-11 07:11:47.981: E/MobileDataStateTracker(275): default: Ignoring feature request because could not acquire PhoneService
12-11 07:11:47.991: E/MobileDataStateTracker(275): default: Could not enable APN type "default"
12-11 07:11:52.800: E/LocationManagerService(275): no geocoder provider found
12-11 07:11:52.820: E/LocationManagerService(275): no geofence provider found
12-11 07:11:55.280: E/BluetoothAdapter(346): Bluetooth binder is null
12-11 07:11:55.280: E/BluetoothAdapter(346): Bluetooth binder is null
12-11 07:11:55.571: E/BluetoothAdapter(346): Bluetooth binder is null
12-11 07:11:55.651: E/BluetoothAdapter(442): Bluetooth binder is null
12-11 07:11:56.691: E/BluetoothAdapter(407): Bluetooth binder is null
12-11 07:11:56.931: E/BluetoothAdapter(442): Bluetooth binder is null
12-11 07:11:57.771: E/BluetoothAdapter(407): Bluetooth binder is null
12-11 07:11:57.911: E/cutils-trace(492): Error opening trace file: No such file or directory (2)
12-11 07:11:57.971: E/BluetoothAdapter(346): Bluetooth binder is null
12-11 07:12:02.541: E/BluetoothAdapter(346): Bluetooth binder is null
12-11 07:12:03.551: E/BluetoothAdapter(442): Bluetooth binder is null
12-11 07:12:04.261: E/BluetoothAdapter(275): Bluetooth binder is null
12-11 07:12:04.261: E/BluetoothAdapter(275): Bluetooth binder is null
12-11 07:12:04.371: E/SoundPool(275): error loading /system/media/audio/ui/Effect_Tick.ogg
12-11 07:12:04.381: E/SoundPool(275): error loading /system/media/audio/ui/Effect_Tick.ogg
12-11 07:12:04.381: E/SoundPool(275): error loading /system/media/audio/ui/Effect_Tick.ogg
12-11 07:12:04.381: E/SoundPool(275): error loading /system/media/audio/ui/Effect_Tick.ogg
12-11 07:12:04.381: E/SoundPool(275): error loading /system/media/audio/ui/Effect_Tick.ogg
12-11 07:12:04.381: E/SoundPool(275): error loading /system/media/audio/ui/KeypressStandard.ogg
12-11 07:12:04.381: E/SoundPool(275): error loading /system/media/audio/ui/KeypressSpacebar.ogg
12-11 07:12:04.381: E/SoundPool(275): error loading /system/media/audio/ui/KeypressDelete.ogg
12-11 07:12:04.381: E/SoundPool(275): error loading /system/media/audio/ui/KeypressReturn.ogg
12-11 07:12:12.357: E/ConnectivityService(275): startUsingNetworkFeature took too long: 4250ms
12-11 07:12:12.627: E/logwrapper(686): executing /system/bin/ip failed: No such file or directory
12-11 07:12:12.647: E/SecondaryTablController(34): ip route add failed: /system/bin/ip route add 10.0.2.2/32 via 0.0.0.0 dev eth0 table 60
12-11 07:12:12.657: E/ConnectivityService(275): Exception trying to add a route: java.lang.IllegalStateException: command '11 interface route add eth0 secondary 10.0.2.2 32 0.0.0.0' failed with '400 11 ip route modification failed (No such device)'
12-11 07:12:12.667: E/logwrapper(687): executing /system/bin/ip failed: No such file or directory
12-11 07:12:12.707: E/SecondaryTablController(34): ip route add failed: /system/bin/ip route add 0.0.0.0/0 via 10.0.2.2 dev eth0 table 60
12-11 07:12:12.707: E/ConnectivityService(275): Exception trying to add a route: java.lang.IllegalStateException: command '12 interface route add eth0 secondary 0.0.0.0 0 10.0.2.2' failed with '400 12 ip route modification failed (No such device)'
12-11 07:12:13.687: E/SQLiteLog(615): (1) no such table: Account
12-11 07:12:17.247: E/BluetoothAdapter(442): Bluetooth binder is null
12-11 07:12:18.917: E/logwrapper(752): executing /system/bin/ip failed: No such file or directory
12-11 07:12:18.937: E/SecondaryTablController(34): ip route del failed: /system/bin/ip route del 10.0.2.2/32 via 0.0.0.0 dev eth0 table 60
12-11 07:12:18.957: E/logwrapper(754): executing /system/bin/ip failed: No such file or directory
12-11 07:12:18.977: E/SecondaryTablController(34): ip route del failed: /system/bin/ip route del 0.0.0.0/0 via 10.0.2.2 dev eth0 table 60
12-11 07:12:20.887: E/cutils-trace(765): Error opening trace file: No such file or directory (2)
預先感謝您的幫助!我非常沮喪,因爲我非常期待開發自己的程序。
是你的應用程序崩潰..? –
如果這些錯誤不會影響您的應用程序進程,請忽略它們。 –
所以只是爲了澄清......你們在運行程序時也有這些錯誤? – Markstar