use*_*830 6 java android intellij-idea
我正在使用intellij-idea开发Android应用程序.我用android模块创建了一个项目,但没有一个:
import android.app.Activity;
import android.os.Bundle;
Run Code Online (Sandbox Code Playgroud)
我得到了认可cannot resolve android symbol.我搜索了这个问题,但我发现的那些评论似乎都没有调试我的问题
你应该做的是,
1. Select your android project 2. press ctrl +alt + shift + S 3. Select SDK from the project settings 4. Check the files under the class path tab 5. There must be android.jar ,res ,annotations.jar Probably there should be missed one or several files in step 5. Then, 6. Go to Android SDK home path field and add your SDK folder again files even though you have all the jars and still you are getting the error ,then remove all the jars from the class path and add them again ( like in step 6). 7. Build menu -?Rebuild your project.
现在你的错误应该消失了.
| 归档时间: |
|
| 查看次数: |
13235 次 |
| 最近记录: |