Herman Tse created ODFTOOLKIT-459:
-------------------------------------
Summary: Compilation error
Key: ODFTOOLKIT-459
URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-459
Project: ODF Toolkit
Issue Type: Bug
Components: simple api
Affects Versions: 0.6-incubating
Environment: Mac OS 10.11.6
Android Studio 2.3.3
Reporter: Herman Tse
Followed instructions on
http://incubator.apache.org/odftoolkit/simple/gettingstartguide.html
and included :
simple-odf-0.6.6.jar
odfdom-java-0.8.7.jar
xercesImpl-2.9.1.jar
xml-apis-1.3.04.jar
in 'libs' folder and classpath for compilation.
build.gradle(android):
android {
buildToolsVersion "25.0.0"
compileSdkVersion 25
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
jniLibs.srcDirs = ['libs']
}
instrumentTest.setRoot('tests')
}
packagingOptions {
exclude 'META-INF/robovm/ios/robovm.xml'
}
defaultConfig {
applicationId "com.hermantseproduction.htmonkey"
minSdkVersion 14
targetSdkVersion 25
versionName "1.0"
versionCode 1
}
}
ends up with error when run:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':android:transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException:
> java.lang.RuntimeException: com.android.ide.common.process.ProcessException:
> java.util.concurrent.ExecutionException:
> com.android.ide.common.process.ProcessException: Return code 1 for dex process
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)