[英]I have an existing android project in which gen folder is missing. How can i run this project?
II have an existing android project in which gen folder is missing. II有一个现有的android项目,其中缺少gen文件夹。 How can i run this project?
我如何运行这个项目? Eclipse is give me following error.
Eclipse给了我以下错误。
Make the resources ID non constant. 使资源ID不固定。 This is required to make an R java class that does not contain the final value but is used to make reusable compiledlibraries that need to access resources.
这是制作不包含最终值的R java类所必需的,而R java类用于制作需要访问资源的可重用编译库。
Description Resource Path Location Type Error generating final archive: java.io.FileNotFoundException: C:\\Users\\Bilal\\Desktop\\Lecture05\\bin\\resources.ap_ does not exist Lecture05 Unknown Android Packaging Problem 说明资源路径位置类型生成最终归档文件时出错:java.io.FileNotFoundException:C:\\ Users \\ Bilal \\ Desktop \\ Lecture05 \\ bin \\ resources.ap_不存在Lecture05未知的Android包装问题
Please Help me. 请帮我。 Thanks in advance.
提前致谢。
The Android Ressource Manager is responsible for creating the R.java file in the gen folder. Android Ressource Manager负责在gen文件夹中创建R.java文件。 This happens when the project is build, either automatically or via the "clean" command.
在自动或通过“ clean”命令构建项目时,会发生这种情况。
Check the Properties of the project to see if the Android Resource Manager is properly included as a Builder for this project. 检查项目的属性,以查看Android资源管理器是否正确包含为该项目的生成器。 There should be four builders registered in the "Builders" section:
在“构建器”部分中应该注册了四个构建器:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.