android studio导入quick cocos2dxV3.3的android项目出现的android.library.reference.1=../../cocos2d-x/cocos/platform/android/java的异常

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 studio)