折腾:
【未解决】参考开发环境文档入手开发RCS的项目rcsjta
期间,继续参考
Build the RI application only From a console, enter the command: gradlew :RI:build
去试试RI
~/dev/xxx/RCS/rcsjta gradlew :RI:build Incremental java compilation is an incubating feature. :RI:preBuild UP-TO-DATE :RI:preDebugBuild UP-TO-DATE :RI:checkDebugManifest :RI:preReleaseBuild UP-TO-DATE :api:preBuild UP-TO-DATE :api:preReleaseBuild UP-TO-DATE :api:checkReleaseManifest :api:prepareReleaseDependencies :api:compileReleaseAidl UP-TO-DATE :api:compileReleaseNdk UP-TO-DATE :api:compileLint UP-TO-DATE :api:copyReleaseLint UP-TO-DATE :api:mergeReleaseShaders UP-TO-DATE :api:compileReleaseShaders UP-TO-DATE :api:generateReleaseAssets UP-TO-DATE :api:mergeReleaseAssets UP-TO-DATE :api:mergeReleaseProguardFiles UP-TO-DATE :api:packageReleaseRenderscript UP-TO-DATE :api:compileReleaseRenderscript UP-TO-DATE :api:generateReleaseResValues UP-TO-DATE :api:generateReleaseResources UP-TO-DATE :api:packageReleaseResources UP-TO-DATE :api:processReleaseManifest UP-TO-DATE :api:generateReleaseBuildConfig UP-TO-DATE :api:processReleaseResources UP-TO-DATE :api:generateReleaseSources UP-TO-DATE :api:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE :api:compileReleaseJavaWithJavac UP-TO-DATE :api:processReleaseJavaRes UP-TO-DATE :api:transformResourcesWithMergeJavaResForRelease UP-TO-DATE :api:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE :api:mergeReleaseJniLibFolders UP-TO-DATE :api:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE :api:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE :api:bundleRelease UP-TO-DATE :api_cnx:preBuild UP-TO-DATE :api_cnx:preReleaseBuild UP-TO-DATE :api_cnx:checkReleaseManifest :api_cnx:preDebugAndroidTestBuild UP-TO-DATE :api_cnx:preDebugBuild UP-TO-DATE :api_cnx:preDebugUnitTestBuild UP-TO-DATE :api_cnx:preReleaseUnitTestBuild UP-TO-DATE :api_cnx:prepareComAndroidSupportSupportCompat2501Library :api_cnx:prepareComAndroidSupportSupportCoreUi2501Library :api_cnx:prepareComAndroidSupportSupportCoreUtils2501Library :api_cnx:prepareComAndroidSupportSupportFragment2501Library :api_cnx:prepareComAndroidSupportSupportMediaCompat2501Library :api_cnx:prepareComAndroidSupportSupportV42501Library :api_cnx:prepareRcsjtaApiUnspecifiedLibrary :api_cnx:prepareReleaseDependencies :api_cnx:compileReleaseAidl :api_cnx:compileReleaseNdk UP-TO-DATE :api_cnx:compileLint :api_cnx:copyReleaseLint UP-TO-DATE :api_cnx:compileReleaseRenderscript :api_cnx:generateReleaseBuildConfig :api_cnx:generateReleaseResValues :api_cnx:generateReleaseResources :api_cnx:mergeReleaseResources :api_cnx:processReleaseManifest :api_cnx:processReleaseResources :api_cnx:generateReleaseSources :api_cnx:incrementalReleaseJavaCompilationSafeguard :api_cnx:compileReleaseJavaWithJavac :api_cnx:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.). :api_cnx:extractReleaseAnnotations :api_cnx:mergeReleaseShaders :api_cnx:compileReleaseShaders :api_cnx:generateReleaseAssets :api_cnx:mergeReleaseAssets :api_cnx:mergeReleaseProguardFiles :api_cnx:packageReleaseRenderscript UP-TO-DATE :api_cnx:packageReleaseResources :api_cnx:processReleaseJavaRes UP-TO-DATE :api_cnx:transformResourcesWithMergeJavaResForRelease :api_cnx:transformClassesAndResourcesWithSyncLibJarsForRelease :api_cnx:mergeReleaseJniLibFolders :api_cnx:transformNative_libsWithMergeJniLibsForRelease :api_cnx:transformNative_libsWithSyncJniLibsForRelease :api_cnx:bundleRelease :mediaplayer:preBuild UP-TO-DATE :mediaplayer:preReleaseBuild UP-TO-DATE :mediaplayer:checkReleaseManifest :mediaplayer:prepareReleaseDependencies :mediaplayer:compileReleaseAidl :mediaplayer:compileReleaseNdk UP-TO-DATE :mediaplayer:compileLint :mediaplayer:copyReleaseLint UP-TO-DATE :mediaplayer:mergeReleaseShaders :mediaplayer:compileReleaseShaders :mediaplayer:generateReleaseAssets :mediaplayer:mergeReleaseAssets :mediaplayer:mergeReleaseProguardFiles :mediaplayer:packageReleaseRenderscript UP-TO-DATE :mediaplayer:compileReleaseRenderscript :mediaplayer:generateReleaseResValues :mediaplayer:generateReleaseResources :mediaplayer:packageReleaseResources :mediaplayer:processReleaseManifest :mediaplayer:generateReleaseBuildConfig :mediaplayer:processReleaseResources :mediaplayer:generateReleaseSources :mediaplayer:incrementalReleaseJavaCompilationSafeguard :mediaplayer:compileReleaseJavaWithJavac :mediaplayer:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.). :mediaplayer:processReleaseJavaRes UP-TO-DATE :mediaplayer:transformResourcesWithMergeJavaResForRelease :mediaplayer:transformClassesAndResourcesWithSyncLibJarsForRelease :mediaplayer:mergeReleaseJniLibFolders :mediaplayer:transformNative_libsWithMergeJniLibsForRelease :mediaplayer:transformNative_libsWithSyncJniLibsForRelease :mediaplayer:bundleRelease :RI:prepareComAndroidSupportAppcompatV72300Library :RI:prepareComAndroidSupportMediarouterV72300Library :RI:prepareComAndroidSupportSupportCompat2501Library :RI:prepareComAndroidSupportSupportCoreUi2501Library :RI:prepareComAndroidSupportSupportCoreUtils2501Library :RI:prepareComAndroidSupportSupportFragment2501Library :RI:prepareComAndroidSupportSupportMediaCompat2501Library :RI:prepareComAndroidSupportSupportV42501Library :RI:prepareComGoogleAndroidGmsPlayServices840Library :RI:prepareComGoogleAndroidGmsPlayServicesAds840Library :RI:prepareComGoogleAndroidGmsPlayServicesAnalytics840Library :RI:prepareComGoogleAndroidGmsPlayServicesAppindexing840Library :RI:prepareComGoogleAndroidGmsPlayServicesAppinvite840Library :RI:prepareComGoogleAndroidGmsPlayServicesAppstate840Library :RI:prepareComGoogleAndroidGmsPlayServicesAuth840Library :RI:prepareComGoogleAndroidGmsPlayServicesBase840Library :RI:prepareComGoogleAndroidGmsPlayServicesBasement840Library :RI:prepareComGoogleAndroidGmsPlayServicesCast840Library :RI:prepareComGoogleAndroidGmsPlayServicesDrive840Library :RI:prepareComGoogleAndroidGmsPlayServicesFitness840Library :RI:prepareComGoogleAndroidGmsPlayServicesGames840Library :RI:prepareComGoogleAndroidGmsPlayServicesGcm840Library :RI:prepareComGoogleAndroidGmsPlayServicesIdentity840Library :RI:prepareComGoogleAndroidGmsPlayServicesLocation840Library :RI:prepareComGoogleAndroidGmsPlayServicesMaps840Library :RI:prepareComGoogleAndroidGmsPlayServicesMeasurement840Library :RI:prepareComGoogleAndroidGmsPlayServicesNearby840Library :RI:prepareComGoogleAndroidGmsPlayServicesPanorama840Library :RI:prepareComGoogleAndroidGmsPlayServicesPlus840Library :RI:prepareComGoogleAndroidGmsPlayServicesSafetynet840Library :RI:prepareComGoogleAndroidGmsPlayServicesVision840Library :RI:prepareComGoogleAndroidGmsPlayServicesWallet840Library :RI:prepareComGoogleAndroidGmsPlayServicesWearable840Library :RI:prepareRcsjtaApiUnspecifiedLibrary :RI:prepareRcsjtaApi_cnxUnspecifiedLibrary :RI:prepareRcsjtaMediaplayerUnspecifiedLibrary :RI:prepareDebugDependencies :RI:compileDebugAidl :RI:compileDebugRenderscript :RI:generateDebugBuildConfig :RI:generateDebugResValues :RI:generateDebugResources :RI:mergeDebugResources :RI:processDebugManifest :RI:processDebugResources :RI:generateDebugSources :RI:incrementalDebugJavaCompilationSafeguard :RI:compileDebugJavaWithJavac :RI:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.). 注: 某些输入文件使用或覆盖了已过时的 API。 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 注: /Users/xxx/dev/xxx/RCS/rcsjta/RI/src/com/gsma/rcs/ri/messaging/geoloc/DisplayGeoloc.java使用了未经检查或不安全的操作。 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 :RI:compileDebugNdk UP-TO-DATE :RI:compileDebugSources :RI:mergeDebugShaders :RI:compileDebugShaders :RI:generateDebugAssets :RI:mergeDebugAssets :RI:transformClassesWithDexForDebug :RI:mergeDebugJniLibFolders :RI:transformNative_libsWithMergeJniLibsForDebug :RI:processDebugJavaRes UP-TO-DATE :RI:transformResourcesWithMergeJavaResForDebug :RI:validateSigningDebug :RI:packageDebug :RI:assembleDebug :RI:checkReleaseManifest :RI:prepareReleaseDependencies :RI:compileReleaseAidl :RI:compileReleaseRenderscript :RI:generateReleaseBuildConfig :RI:generateReleaseResValues :RI:generateReleaseResources :RI:mergeReleaseResources :RI:processReleaseManifest :RI:processReleaseResources :RI:generateReleaseSources :RI:incrementalReleaseJavaCompilationSafeguard :RI:compileReleaseJavaWithJavac :RI:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.). 注: 某些输入文件使用或覆盖了已过时的 API。 注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 注: /Users/xxx/dev/xx/RCS/rcsjta/RI/src/com/gsma/rcs/ri/messaging/geoloc/DisplayGeoloc.java使用了未经检查或不安全的操作。 注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 :RI:compileReleaseNdk UP-TO-DATE :RI:compileReleaseSources :RI:lintVitalRelease :RI:mergeReleaseShaders :RI:compileReleaseShaders :RI:generateReleaseAssets :RI:mergeReleaseAssets :RI:transformClassesWithDexForRelease :RI:mergeReleaseJniLibFolders :RI:transformNative_libsWithMergeJniLibsForRelease :RI:processReleaseJavaRes UP-TO-DATE :RI:transformResourcesWithMergeJavaResForRelease :RI:packageRelease :RI:assembleRelease :RI:assemble :RI:lint Ran lint on variant release: 106 issues found Ran lint on variant debug: 106 issues found Wrote HTML report to file:///Users/xxx/dev/xx/RCS/rcsjta/RI/build/outputs/lint-results-debug.html Wrote XML report to file:///Users/xxx/dev/xx/RCS/rcsjta/RI/build/outputs/lint-results-debug.xml :RI:incrementalDebugUnitTestJavaCompilationSafeguard UP-TO-DATE :RI:preDebugUnitTestBuild UP-TO-DATE :RI:prepareDebugUnitTestDependencies :RI:compileDebugUnitTestJavaWithJavac UP-TO-DATE :RI:processDebugUnitTestJavaRes UP-TO-DATE :RI:compileDebugUnitTestSources UP-TO-DATE :RI:mockableAndroidJar :RI:assembleDebugUnitTest :RI:testDebugUnitTest UP-TO-DATE :RI:incrementalReleaseUnitTestJavaCompilationSafeguard UP-TO-DATE :RI:preReleaseUnitTestBuild UP-TO-DATE :RI:prepareReleaseUnitTestDependencies :RI:compileReleaseUnitTestJavaWithJavac UP-TO-DATE :RI:processReleaseUnitTestJavaRes UP-TO-DATE :RI:compileReleaseUnitTestSources UP-TO-DATE :RI:assembleReleaseUnitTest :RI:testReleaseUnitTest UP-TO-DATE :RI:test UP-TO-DATE :RI:check :RI:build BUILD SUCCESSFUL Total time: 50.937 secs This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html
然后也注意到了:
生成了apk
- /Users/xxx/dev/xxx/RCS/rcsjta/RI/build/outputs/apk
- RI-debug.apk
- RI-release-unsigned.apk


然后也去安装到安卓手机中试试:
【已解决】安装rcsjta的RI的build出的RCS-debug的apk到安卓小米9中
转载请注明:在路上 » 【已解决】编译rcsjta项目中的RCS的RI参考实现