未为模块“示例-示例"指定 APK 路径;
我是 Android 应用程序开发领域的新手.我在 Android Studio 上创建了一个项目示例.我在 src/main/java/apt.tutorial.lunchlist 中有我的 LunchList.java 文件.直到昨天一切正常.但是当我今天打开 android Studio 时出现错误提示
I am newbie in the world of android app development. I was creating a project Example on Android Studio. I have my LunchList.java file in src/main/java/apt.tutorial.lunchlist .Till yesterday Everything was working fine. But when I open android Studio today I got an error saying
"以下模块已从 Gradle 结构中删除.查看那些也将从项目中删除的:"
"The modules below have been removed from Gradle structure. Check those to be removed from the project too:"
☑ 午餐清单
☑ 午餐清单-午餐清单
☑ LunchList-LunchList
还有确定和取消按钮.我不想删除它们.所以我点击取消并继续.
And there is OK and Cancel Button. I don't want to remove them. So I click cancel and proceed.
然后当我尝试在模拟器中运行应用程序时,模拟器运行但没有任何反应.我得到了这个错误
Then when I tried to run the application in emulator the emulator runs but nothing happens. And I got this error
等待设备.
目标设备:emulator-5554 (Android)
Target device: emulator-5554 (Android)
错误:未为模块LunchList-LunchList"指定 APK 路径
ERROR: APK path is not specified for module "LunchList-LunchList"
我不知道出了什么问题.请帮帮我.
I don't know what went wrong. Please help me.
退出 Android studio.使用管理员权限启动它.
这解决了 Windows 7 中 Android Studio v0.1 的问题.
Exit Android studio. Launch it with Administrator Privilege.
This solved the problem with Android Studio v0.1 in Windows 7.