- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the next error log when i build my apk. on androi. i search in google but no look. ^ symbol: method setColor(int) location: variable mBuilder of type Builder Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileReleaseJava'. > 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. BUILD FAILED Total time: 37.251 secs .../builds/build.2016-03-29.12-10-37.NSECas.tmp/prueba2/platforms/android/cordova/node_modules/q/q.js:126 throw e; ^ Error code 1 for command: .../builds/build.2016-03-29.12-10-37.NSECas.tmp/prueba2/platforms/android/gradlew with args: cdvBuildRelease,-b,.../builds/build.2016-03-29.12-10-37.NSECas.tmp/prueba2/platforms/android/build.gradle,--no-daemon Command finished with error code 1: .../builds/build.2016-03-29.12-10-37.NSECas.tmp/prueba2/platforms/android/cordova/build --release ERROR building one of the platforms: Error: .../builds/build.2016-03-29.12-10-37.NSECas.tmp/prueba2/platforms/android/cordova/build: Command failed with exit code 1 You may not have the required environment or OS to build this project Error: .../builds/build.2016-03-29.12-10-37.NSECas.tmp/prueba2/platforms/android/cordova/build: Command failed with exit code 1 at ChildProcess.whenDone (.../cordova/cordova-cli/5.1.1/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:134:23) at emitTwo (events.js:87:13) at ChildProcess.emit (events.js:172:7) at maybeClose (internal/child_process.js:821:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
- Tags:
- HTML5
- Intel® XDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I spoke with engineering on this and came up with this.
1. remove the existing fb plugin
2. add this 3rd party fb plugin cordova-plugin-facebook4
3. You will need to update the Min Android API to at least 15 in the XDK Build Settings.
You should be able to build then :)
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What plugins are you using? Currently our build system does not support plugins that contain gradle scripts. Try removing your 3rd party plugins 1 by 1 and build after each removal to determine what plugin is causing the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
is the Facebook plugin =/, i remove it and it works, what can be the problem whit that plugin i use alone in a demo of Facebook and it works well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I spoke with engineering on this and came up with this.
1. remove the existing fb plugin
2. add this 3rd party fb plugin cordova-plugin-facebook4
3. You will need to update the Min Android API to at least 15 in the XDK Build Settings.
You should be able to build then :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it works great now thanks very much =))
![](/skins/images/872293744008A34B36F8ABF94A46CC66/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page