Issue with ActionBarActivityDelegate class…app doesn't run

前端 未结 4 2008
庸人自扰
庸人自扰 2021-02-15 12:37

Hello i hope someone can help me with his I was planning to put an action bar in my test app, so I did exactly as said in the developers API guide.

But when i tried to

相关标签:
4条回答
  • 2021-02-15 12:58

    I had that error, and the problem was that I hadn't added the lib with the resources. You can't just add the jars, because it will not add the resources. You have to create a project from thoses libs and then add the project as a library to your own project.

    Here's the instructions how to:

    Go to this link and go to the "Adding libraries with resources" section

    http://developer.android.com/tools/support-library/setup.html

    This fixed the problem for me.

    Cheers

    0 讨论(0)
  • 2021-02-15 13:01

    I had the same issue about 20 minutes ago. I fixed it in the Manifest by changing the theme from "AppTheme" to "Theme.AppCompat"

    <application
        ...
        android:theme="@style/Theme.AppCompat" >
    
    0 讨论(0)
  • 2021-02-15 13:08

    I'm using Android-Studio 1.0.2 and I had the same problem. I fixed the issue removing compile 'com.google.android.gms' from build.gradle. Not too sure about the cause of the problem.

    0 讨论(0)
  • 2021-02-15 13:09

    I spent a whole day trying to fix this. I am using eclipse on debian. I ended up adding the library android-support-v7-appcompt and my app into one working set and built the "working set" to resolve the issue. This eventually created the necessary files in android-support-v7-appcompat/bin folder.

    0 讨论(0)
提交回复
热议问题