Skip to content

Instantly share code, notes, and snippets.

@dk0r
Created June 12, 2017 16:04
Show Gist options
  • Save dk0r/4b1115ad7e812926fef91ee9373346c3 to your computer and use it in GitHub Desktop.
Save dk0r/4b1115ad7e812926fef91ee9373346c3 to your computer and use it in GitHub Desktop.
D:\workspace\graphcool\Auth0Example $: react-native run-android
Scanning 606 folders for symlinks in D:\workspace\graphcool\Auth0Example\node_modules (19ms)
JS server already running.
Building and installing the app on the device (cd android && gradlew.bat installDebug)...
Incremental java compilation is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:react-native-lock:preBuild UP-TO-DATE
:react-native-lock:preReleaseBuild UP-TO-DATE
:react-native-lock:checkReleaseManifest
:react-native-lock:preDebugAndroidTestBuild UP-TO-DATE
:react-native-lock:preDebugBuild UP-TO-DATE
:react-native-lock:preDebugUnitTestBuild UP-TO-DATE
:react-native-lock:preReleaseUnitTestBuild UP-TO-DATE
:react-native-lock:prepareComAndroidSupportAppcompatV72310Library
:react-native-lock:prepareComAndroidSupportSupportV42310Library
:react-native-lock:prepareComAuth0AndroidCore1171Library
:react-native-lock:prepareComAuth0AndroidIdentityCore1171Library
:react-native-lock:prepareComAuth0AndroidLock1171Library
:react-native-lock:prepareComAuth0AndroidLockPasswordless1171Library
:react-native-lock:prepareComFacebookFbuiTextlayoutbuilderTextlayoutbuilder100Library
:react-native-lock:prepareComFacebookFrescoDrawee101Library
:react-native-lock:prepareComFacebookFrescoFbcore101Library
:react-native-lock:prepareComFacebookFrescoFresco101Library
:react-native-lock:prepareComFacebookFrescoImagepipeline101Library
:react-native-lock:prepareComFacebookFrescoImagepipelineBase101Library
:react-native-lock:prepareComFacebookFrescoImagepipelineOkhttp3101Library
:react-native-lock:prepareComFacebookReactReactNative0442Library
:react-native-lock:prepareComFacebookSoloaderSoloader010Library
:react-native-lock:prepareComHannesdorfmannSmoothprogressbarLibrary100Library
:react-native-lock:prepareOrgWebkitAndroidJscR174650Library
:react-native-lock:prepareReleaseDependencies
:react-native-lock:compileReleaseAidl
:react-native-lock:compileReleaseNdk UP-TO-DATE
:react-native-lock:compileLint
:react-native-lock:copyReleaseLint UP-TO-DATE
:react-native-lock:compileReleaseRenderscript
:react-native-lock:generateReleaseBuildConfig
:react-native-lock:generateReleaseResValues
:react-native-lock:generateReleaseResources
:react-native-lock:mergeReleaseResources
:react-native-lock:processReleaseManifest
:react-native-lock:processReleaseResources
:react-native-lock:generateReleaseSources
:react-native-lock:incrementalReleaseJavaCompilationSafeguard
:react-native-lock:compileReleaseJavaWithJavac
:react-native-lock:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).Note: D:\workspace\graphcool\Auth0Example\node_modules\react-native-lock\android\src\main\java\com\auth0\lock\react\bridge\UserProfileBridge.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:react-native-lock:extractReleaseAnnotations
:react-native-lock:mergeReleaseShaders
:react-native-lock:compileReleaseShaders
:react-native-lock:generateReleaseAssets
:react-native-lock:mergeReleaseAssets
:react-native-lock:mergeReleaseProguardFiles UP-TO-DATE
:react-native-lock:packageReleaseRenderscript UP-TO-DATE
:react-native-lock:packageReleaseResources
:react-native-lock:processReleaseJavaRes UP-TO-DATE
:react-native-lock:transformResourcesWithMergeJavaResForRelease
:react-native-lock:transformClassesAndResourcesWithSyncLibJarsForRelease
:react-native-lock:mergeReleaseJniLibFolders
:react-native-lock:transformNative_libsWithMergeJniLibsForRelease
:react-native-lock:transformNative_libsWithSyncJniLibsForRelease
:react-native-lock:bundleRelease
:app:prepareAuth0ExampleReactNativeLockUnspecifiedLibrary
:app:prepareComAndroidSupportAppcompatV72310Library
:app:prepareComAndroidSupportSupportV42310Library
:app:prepareComAuth0AndroidCore1171Library
:app:prepareComAuth0AndroidIdentityCore1171Library
:app:prepareComAuth0AndroidLock1171Library
:app:prepareComAuth0AndroidLockPasswordless1171Library
:app:prepareComFacebookFbuiTextlayoutbuilderTextlayoutbuilder100Library
:app:prepareComFacebookFrescoDrawee101Library
:app:prepareComFacebookFrescoFbcore101Library
:app:prepareComFacebookFrescoFresco101Library
:app:prepareComFacebookFrescoImagepipeline101Library
:app:prepareComFacebookFrescoImagepipelineBase101Library
:app:prepareComFacebookFrescoImagepipelineOkhttp3101Library
:app:prepareComFacebookReactReactNative0442Library
:app:prepareComFacebookSoloaderSoloader010Library
:app:prepareComHannesdorfmannSmoothprogressbarLibrary100Library
:app:prepareOrgWebkitAndroidJscR174650Library
:app:prepareDebugDependencies
:app:compileDebugAidl
:app:compileDebugRenderscript
:app:generateDebugBuildConfig
:app:mergeDebugShaders
:app:compileDebugShaders
:app:generateDebugAssets
:app:mergeDebugAssets
:app:generateDebugResValues
:app:generateDebugResources
:app:mergeDebugResources
:app:bundleDebugJsAndAssets SKIPPED
:app:processDebugManifest
:app:processDebugResources
:app:generateDebugSources
:app:incrementalDebugJavaCompilationSafeguard
:app:compileDebugJavaWithJavac
:app:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
:app:compileDebugNdk UP-TO-DATE
:app:compileDebugSources
:app:transformClassesWithDexForDebug
Running dex in-process requires build tools 23.0.2.
For faster builds update this project to use the latest build tools.
:app:mergeDebugJniLibFolders
:app:transformNative_libsWithMergeJniLibsForDebug
:app:processDebugJavaRes UP-TO-DATE
:app:transformResourcesWithMergeJavaResForDebug FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.
> com.android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in APK META-INF/LICENSE
File1: C:\Users\dk0r\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-databind\2.4.1\f07c773f7b3a03c3801d405cadbdc93f7548e321\jackson-databind-2.4.1.jar
File2: C:\Users\dk0r\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-core\2.4.1\b130bcfb5a9c410c3cbd2e0adec9437e69a39e2c\jackson-core-2.4.1.jar
File3: C:\Users\dk0r\.gradle\caches\modules-2\files-2.1\com.fasterxml.jackson.core\jackson-annotations\2.4.1\55605135bd7b836612e0bba7037c9669f6ccf89f\jackson-annotations-2.4.1.jar
* 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: 1 mins 10.855 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment