在新安装中找不到Android Eclipse资源

时间:2014-10-06 01:42:41

标签: android eclipse

我认为这是一个设置问题而不是编码问题。我有一个项目在另一台计算机上运行正常。我将我的项目导入到另一台机器上的全新安装和工作区,我收到以下错误。我尝试过两个类似的项目,并使用相同的资源ID获得完全相同的问题。

我删除并重新安装了Google Play服务库和项目。我还尝试清理项目并删除R.java文件并重建。

当我尝试在工作区中搜索资源ID时,我出现了空白。

工作机器和这个都在使用Juno eclipse。工作机器是Windows 7,而非工作机器是8.1。

任何帮助都会很愉快。

 10-05 21:28:26.709: E/AndroidRuntime(5034): FATAL EXCEPTION: main
    10-05 21:28:26.709: E/AndroidRuntime(5034): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.package.TabsFragmentActivity}: android.content.res.Resources$NotFoundException: 
Unable to find resource ID #0x7f05006f
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2100)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2125)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at android.app.ActivityThread.access$600(ActivityThread.java:140)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1227)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at android.os.Handler.dispatchMessage(Handler.java:99)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at android.os.Looper.loop(Looper.java:137)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at android.app.ActivityThread.main(ActivityThread.java:4898)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at java.lang.reflect.Method.invokeNative(Native Method)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at java.lang.reflect.Method.invoke(Method.java:511)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1008)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at dalvik.system.NativeStart.main(Native Method)
    10-05 21:28:26.709: E/AndroidRuntime(5034): Caused by: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f05006f
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at android.content.res.Resources.getResourceName(Resources.java:1661)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:919)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:682)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1467)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:570)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1178)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at android.app.Activity.performStart(Activity.java:5216)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2073)
    10-05 21:28:26.709: E/AndroidRuntime(5034):     ... 11 more

enter image description here

0 个答案:

没有答案