相关疑难解决方法(0)

错误:找不到默认活动

我将IntelliJ Idea 12.0.4升级到12.10.

现在,我的Android项目中的所有模块都会出错:

错误:找不到默认活动

我恢复到12.0.4并且它有效.

有任何想法吗 ??我认为它可能与一些未安装的插件有关,因为唯一的其他东西可能是本地配置,但我删除了配置文件夹以确认,并没有改变任何东西.

android intellij-idea android-studio

384
推荐指数
20
解决办法
46万
查看次数

UnsupportedMethodException Android Studio 0.8.9

我有Android Studio 0.8.9.到现在为止,它可以成功地与gradle文件同步,但今天当我打开它时,它给了我这个错误:

UnsupportedMethodException
         Failed to set up Android modules in project 'Project': Unsupported method: SourceProvider.getJniDirectories().
         The version of Gradle you connect to does not support that method.
         To resolve the problem you can change/upgrade the target version of Gradle you connect to.
         Alternatively, you can ignore this exception and read other information from the model.
Run Code Online (Sandbox Code Playgroud)

你能帮帮我解决这个问题吗?谢谢.

android gradle android-studio android-gradle-plugin

27
推荐指数
2
解决办法
1万
查看次数

IntelliJ IDEA中包含哪些Android插件版本?

......以及如何找到它(以一种权威的方式)?

在Android Studio 0.8.11中:当我检查时它显示10.0.8.11.对应于http://tools.android.com/recenthttp://developer.android.com/sdk/installing/studio.html.

在IDEA EAP 14中:当我转到设置>插件> Android支持时,显示的版本号为10.0,与最新版本的IDEA/Android Studio/SDK/API不对应.v10的所有上述内容都太旧了,不能成为前沿软件中的默认包.

我检查了.jar文件META-INF,但没有运气.有些.jar名字给出了一个线索,这是我能够推断的:

???????????????????????????????????????????????????????????????????????????????????
?                                ? IntelliJ IDEA ? IntelliJ IDEA ? Android Studio ?
???????????????????????????????????????????????????????????????????????????????????
? Version                        ? 13.1.5        ? 14 EAP        ? 0.8.11         ?
? Build                          ? IC-135.1289   ? IC-138.2458.8 ? AI-135.1446794 ?
? Date                           ? 2014-09-30    ? 2014-09-25    ? 2014-09-18     ?
? builder-model.jar              ? 0.12.0        ? 0.12.0        ? 0.13.0         ?
? Android Support Plugin version ? 10.0          ? …
Run Code Online (Sandbox Code Playgroud)

android intellij-idea android-studio android-gradle-plugin

7
推荐指数
1
解决办法
2042
查看次数