android studio导入quick cocos2dxV3.3的android项目出现的android.library.reference.1=../../cocos2d-x/cocos/pla
16lz
2021-01-23
android studio导入quick cocos2dxV3.3的android项目出现的android.library.reference.1=../../cocos2d-x/cocos/platform/android/java的异常的原因出现在android项目中得project.properties文件中:
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system use,
# "ant.properties", and override values to adapt the script to your
# project structure.
# Project target.
target=android-10
android.library.reference.1=../../cocos2d-x/cocos/platform/android/java
可以看到最后一行有个依赖项,解决办法有:
1,可以删除这个依赖项
2,在quick3.3项目中找到cocos2d-x/cocos/platform/android/java,拷贝到对应的目录下
更多相关文章
- Android系列教程之四:Android项目的目录结构
- Android 调试:java 跨工程调试 android 项目
- Android Studio项目适配Android X(Android 9.0)
- 介绍本人的一个Android项目(附源代码)
- Ant 编译 Android 项目为 Apk 实战, 常见问题解决
- ADT20新建项目Android Support library not installed问题
- Android之新建项目
- Android项目打包、Eclipse视图和UI控件
- Android Studio安卓学习笔记(二)Android项目结构