Monaca localkit can't build app package
-
Hello, I trying to build a project, works perfect on preview mode, but when I try to build, the tool shows me that error below:
:CordovaLib:generateReleaseAssets UP-TO-DATE :CordovaLib:mergeReleaseAssets :CordovaLib:processReleaseManifest :CordovaLib:processReleaseResources :CordovaLib:generateReleaseSources :CordovaLib:compileReleaseJavaWithJavac :CordovaLib:processReleaseJavaRes UP-TO-DATE :CordovaLib:transformResourcesWithMergeJavaResForRelease :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease :CordovaLib:mergeReleaseJniLibFolders :CordovaLib:transformNative_libsWithMergeJniLibsForRelease :CordovaLib:transformNative_libsWithSyncJniLibsForRelease :CordovaLib:bundleRelease :prepareAndroidCordovaLibUnspecifiedReleaseLibrary :prepareReleaseDependencies :compileReleaseAidl :compileReleaseRenderscript :generateReleaseBuildConfig :generateReleaseAssets UP-TO-DATE :mergeReleaseAssets :generateReleaseResValues :generateReleaseResources :mergeReleaseResources :processReleaseManifest :processReleaseResources :generateReleaseSources :compileReleaseJavaWithJavac FAILED BUILD FAILED Total time: 13.06 secs - postBuild - Remove working directories... Build Error: Error: Sandbox Exec Error: [ 注意:一部の入力ファイルは非推奨のAPIを使用またはオーバーライドしています。 注意:詳細は、-Xlint:deprecationオプションを指定して再コンパイルしてください。 /private/tmp/monaca/59c82902013eb014203eeaaa/project/platforms/android/src/com/lorentech/plugins/volumeControl/VolumeControl.java:42: エラー: ';'がありません int volumeToSet = (int) Math.round(args.getDouble(0) * 100.0f) ^ エラー1個 FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileReleaseJavaWithJavac'. > Compilation failed; see the compiler error output for details. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Error: Error code 1 for command: /private/tmp/monaca/59c82902013eb014203eeaaa/project/platforms/android/gradlew with args: cdvBuildRelease,-b,/private/tmp/monaca/59c82902013eb014203eeaaa/project/platforms/android/build.gradle,-Dorg.gradle.daemon=true,-Pandroid.useDeprecatedNdk=true ]
Can someone help me to fix it?
thanks.
-
@Jonathan-Silva said:
Based on the error log, it seems like there is an issue with a file insideVolumeControl
plugin. Please double check the file. Are you sure there is no error while testing the app?/private/tmp/monaca/59c82902013eb014203eeaaa/project/platforms/android/src/com/lorentech/plugins/volumeControl/VolumeControl.java:42: エラー: ';'がありません int volumeToSet = (int) Math.round(args.getDouble(0) * 100.0f) ^ エラー1個
-
yes, sure. btw, I may build the solution only when I removed the plugin. I’m trying to manipulate the device audio.