gameclosure native-android调试失败找不到local.properties文件

时间:2015-11-07 20:07:40

标签: android gameclosure

尝试运行时出现以下错误

devkit debug native-android

ERROR

BUILD FAILED
                /home/bonnie/adt/sdk/tools/ant/build.xml:597: The following error occurred while executing this line:
                /home/bonnie/GameEngines/MyGameClosure/modules/devkit-core/modules/native-android/TeaLeaf/build.xml:7: Source resource does not exist: /home/bonnie/GameEngines/MyGameClosure/modules/devkit-core/modules/native-android/TeaLeaf/local.properties
仔细观察我发现缺少local.properties fille。 我怎样才能解决这个问题?它是什么原因?

1 个答案:

答案 0 :(得分:0)

将local.properties文件从
build / debug / native-android / local.properties
复制到
modules / devkit-core / modules / native-android / TEALEAF /

cp build/debug/native-android/local.properties modules/devkit-core/modules/native-android/TeaLeaf/


 -要么-
换线号。

7
modules/devkit-core/modules/native-android/TeaLeaf/buid.xml

<loadproperties srcFile="../../../../../build/debug/native-android/local.properties" />

`