0

私は2つのAndroidプロジェクトを持っています。1つはC++で書かれたgameprojプロジェクトで、もう1つはinapp purchase storeprojで、これはライブラリJavaプロジェクトです。gameprojでstoreprojのJavaメソッドを使用する必要があります

store proj を gameproj にリンクするために、次の手順に従いました。

1)javabuildpathのgameprojのプロパティで、プロジェクトセクションの下にstoreprojをリンクしました2)ライブラリセクションにもstoreprojを追加しました

「testclass を型に解決できません」というリンク エラーが表示されます (testclass は storeproj 内の Javaclass です)?? どんな提案もありがたく受け入れられます。

ここに私の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 edit
 # "ant.properties", and override values to adapt the script to your
 # project structure.
 #
 # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

# Project target.
target=android-17
android.library.reference.1=../../cocos2dx/platform/android/java
4

0 に答える 0