You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 13, 2020. It is now read-only.
I tried to generate a signed APK from react native docs, but failed. So I tried to generate a new installation of ignite-expo and tried again, but it still failed with the same errors.
yarn android:build
yarn run v1.7.0
$ cd android && ./gradlew assembleRelease
Download https://jcenter.bintray.com/com/android/tools/build/gradle/1.1.3/gradle-1.1.3.pom
Download https://jcenter.bintray.com/com/android/tools/build/gradle-core/1.1.3/gradle-core-1.1.3.pom
Download https://jcenter.bintray.com/com/android/tools/build/builder/1.1.3/builder-1.1.3.pom
Download https://jcenter.bintray.com/com/android/tools/lint/lint/24.1.3/lint-24.1.3.pom
Download https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/5.1/proguard-gradle-5.1.pom
Download https://jcenter.bintray.com/net/sf/proguard/proguard-parent/5.1/proguard-parent-5.1.pom
Download https://jcenter.bintray.com/com/android/tools/build/builder-model/1.1.3/builder-model-1.1.3.pom
Download https://jcenter.bintray.com/com/android/tools/build/builder-test-api/1.1.3/builder-test-api-1.1.3.pom
Download https://jcenter.bintray.com/com/android/tools/sdklib/24.1.3/sdklib-24.1.3.pom
Download https://jcenter.bintray.com/com/android/tools/sdk-common/24.1.3/sdk-common-24.1.3.pom
Download https://jcenter.bintray.com/com/android/tools/common/24.1.3/common-24.1.3.pom
Download https://jcenter.bintray.com/com/android/tools/build/manifest-merger/24.1.3/manifest-merger-24.1.3.pom
Download https://jcenter.bintray.com/com/android/tools/ddms/ddmlib/24.1.3/ddmlib-24.1.3.pom
Download https://jcenter.bintray.com/com/android/tools/lint/lint-checks/24.1.3/lint-checks-24.1.3.pom
Download https://jcenter.bintray.com/org/eclipse/jdt/core/compiler/ecj/4.4/ecj-4.4.pom
Download https://jcenter.bintray.com/net/sf/proguard/proguard-base/5.1/proguard-base-5.1.pom
Download https://jcenter.bintray.com/com/android/tools/annotations/24.1.3/annotations-24.1.3.pom
Download https://jcenter.bintray.com/com/android/tools/layoutlib/layoutlib-api/24.1.3/layoutlib-api-24.1.3.pom
Download https://jcenter.bintray.com/com/android/tools/dvlib/24.1.3/dvlib-24.1.3.pom
Download https://jcenter.bintray.com/com/android/tools/lint/lint-api/24.1.3/lint-api-24.1.3.pom
Download https://jcenter.bintray.com/com/android/tools/build/gradle/1.1.3/gradle-1.1.3.jar
Download https://jcenter.bintray.com/com/android/tools/build/gradle-core/1.1.3/gradle-core-1.1.3.jar
Download https://jcenter.bintray.com/com/android/tools/build/builder/1.1.3/builder-1.1.3.jar
Download https://jcenter.bintray.com/com/android/tools/lint/lint/24.1.3/lint-24.1.3.jar
Download https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/5.1/proguard-gradle-5.1.jar
Download https://jcenter.bintray.com/com/android/tools/build/builder-model/1.1.3/builder-model-1.1.3.jar
Download https://jcenter.bintray.com/com/android/tools/build/builder-test-api/1.1.3/builder-test-api-1.1.3.jar
Download https://jcenter.bintray.com/com/android/tools/sdklib/24.1.3/sdklib-24.1.3.jar
Download https://jcenter.bintray.com/com/android/tools/sdk-common/24.1.3/sdk-common-24.1.3.jar
Download https://jcenter.bintray.com/com/android/tools/common/24.1.3/common-24.1.3.jar
Download https://jcenter.bintray.com/com/android/tools/build/manifest-merger/24.1.3/manifest-merger-24.1.3.jar
Download https://jcenter.bintray.com/com/android/tools/ddms/ddmlib/24.1.3/ddmlib-24.1.3.jar
Download https://jcenter.bintray.com/com/android/tools/lint/lint-checks/24.1.3/lint-checks-24.1.3.jar
Download https://jcenter.bintray.com/org/eclipse/jdt/core/compiler/ecj/4.4/ecj-4.4.jar
Download https://jcenter.bintray.com/net/sf/proguard/proguard-base/5.1/proguard-base-5.1.jar
Download https://jcenter.bintray.com/com/android/tools/annotations/24.1.3/annotations-24.1.3.jar
Download https://jcenter.bintray.com/com/android/tools/layoutlib/layoutlib-api/24.1.3/layoutlib-api-24.1.3.jar
Download https://jcenter.bintray.com/com/android/tools/dvlib/24.1.3/dvlib-24.1.3.jar
Download https://jcenter.bintray.com/com/android/tools/lint/lint-api/24.1.3/lint-api-24.1.3.jar
Download https://jcenter.bintray.com/com/facebook/react/react-native/0.12.0/react-native-0.12.0.pom
Download https://jcenter.bintray.com/com/squareup/okhttp/okhttp/2.4.0/okhttp-2.4.0.pom
Download https://jcenter.bintray.com/com/squareup/okhttp/parent/2.4.0/parent-2.4.0.pom
Download https://jcenter.bintray.com/com/facebook/fresco/fresco/0.6.1/fresco-0.6.1.pom
Download https://jcenter.bintray.com/com/facebook/fresco/imagepipeline-okhttp/0.6.1/imagepipeline-okhttp-0.6.1.pom
Download https://jcenter.bintray.com/com/squareup/okhttp/okhttp-ws/2.4.0/okhttp-ws-2.4.0.pom
Download https://jcenter.bintray.com/com/squareup/okio/okio/1.5.0/okio-1.5.0.pom
Download https://jcenter.bintray.com/com/squareup/okio/okio-parent/1.5.0/okio-parent-1.5.0.pom
Download https://jcenter.bintray.com/com/facebook/fresco/drawee/0.6.1/drawee-0.6.1.pom
Download https://jcenter.bintray.com/com/facebook/fresco/imagepipeline/0.6.1/imagepipeline-0.6.1.pom
Download https://jcenter.bintray.com/com/facebook/fresco/fbcore/0.6.1/fbcore-0.6.1.pom
Download https://jcenter.bintray.com/com/squareup/okio/okio/1.5.0/okio-1.5.0.jar
Download https://jcenter.bintray.com/com/squareup/okhttp/okhttp/2.4.0/okhttp-2.4.0.jar
Download https://jcenter.bintray.com/com/facebook/fresco/fbcore/0.6.1/fbcore-0.6.1.aar
Download https://jcenter.bintray.com/com/facebook/fresco/drawee/0.6.1/drawee-0.6.1.aar
Download https://jcenter.bintray.com/com/facebook/fresco/imagepipeline/0.6.1/imagepipeline-0.6.1.aar
Download https://jcenter.bintray.com/com/facebook/fresco/fresco/0.6.1/fresco-0.6.1.aar
Download https://jcenter.bintray.com/com/facebook/fresco/imagepipeline-okhttp/0.6.1/imagepipeline-okhttp-0.6.1.aar
Download https://jcenter.bintray.com/com/squareup/okhttp/okhttp-ws/2.4.0/okhttp-ws-2.4.0.jar
Download https://jcenter.bintray.com/com/facebook/react/react-native/0.12.0/react-native-0.12.0.aar
Incremental java compilation is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preReleaseBuild UP-TO-DATE
:app:checkReleaseManifest
:app:preDebugBuild UP-TO-DATE
:react-native-i18n:preBuild UP-TO-DATE
:react-native-i18n:preReleaseBuild UP-TO-DATE
:react-native-i18n:checkReleaseManifest
:react-native-i18n:preDebugAndroidTestBuild UP-TO-DATE
:react-native-i18n:preDebugBuild UP-TO-DATE
:react-native-i18n:preDebugUnitTestBuild UP-TO-DATE
:react-native-i18n:preReleaseUnitTestBuild UP-TO-DATE
:react-native-i18n:prepareComAndroidSupportAppcompatV72301Library
:react-native-i18n:prepareComAndroidSupportSupportV42301Library
:react-native-i18n:prepareComFacebookFrescoDrawee061Library
:react-native-i18n:prepareComFacebookFrescoFbcore061Library
:react-native-i18n:prepareComFacebookFrescoFresco061Library
:react-native-i18n:prepareComFacebookFrescoImagepipeline061Library
:react-native-i18n:prepareComFacebookFrescoImagepipelineOkhttp061Library
:react-native-i18n:prepareComFacebookReactReactNative0120Library
:react-native-i18n:prepareOrgWebkitAndroidJscR174650Library
:react-native-i18n:prepareReleaseDependencies
:react-native-i18n:compileReleaseAidl
:react-native-i18n:compileReleaseNdk UP-TO-DATE
:react-native-i18n:compileLint
:react-native-i18n:copyReleaseLint UP-TO-DATE
:react-native-i18n:compileReleaseRenderscript
:react-native-i18n:generateReleaseBuildConfig
:react-native-i18n:generateReleaseResValues
:react-native-i18n:generateReleaseResources
:react-native-i18n:mergeReleaseResources
:react-native-i18n:processReleaseManifest
:react-native-i18n:processReleaseResources
:react-native-i18n:generateReleaseSources
:react-native-i18n:incrementalReleaseJavaCompilationSafeguard
:react-native-i18n:compileReleaseJavaWithJavac
:react-native-i18n:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
:react-native-i18n:extractReleaseAnnotations
:react-native-i18n:mergeReleaseShaders
:react-native-i18n:compileReleaseShaders
:react-native-i18n:generateReleaseAssets
:react-native-i18n:mergeReleaseAssets
:react-native-i18n:mergeReleaseProguardFiles
:react-native-i18n:packageReleaseRenderscript UP-TO-DATE
:react-native-i18n:packageReleaseResources
:react-native-i18n:processReleaseJavaRes UP-TO-DATE
:react-native-i18n:transformResourcesWithMergeJavaResForRelease
:react-native-i18n:transformClassesAndResourcesWithSyncLibJarsForRelease
:react-native-i18n:mergeReleaseJniLibFolders
:react-native-i18n:transformNative_libsWithMergeJniLibsForRelease
:react-native-i18n:transformNative_libsWithSyncJniLibsForRelease
:react-native-i18n:bundleRelease
:app:prepareComAndroidSupportAppcompatV72301Library
:app:prepareComAndroidSupportRecyclerviewV72301Library
:app:prepareComAndroidSupportSupportV42301Library
:app:prepareComFacebookFrescoDrawee081Library
:app:prepareComFacebookFrescoFbcore081Library
:app:prepareComFacebookFrescoFresco081Library
:app:prepareComFacebookFrescoImagepipeline081Library
:app:prepareComFacebookFrescoImagepipelineOkhttp081Library
:app:prepareComFacebookReactReactNative0201Library
:app:prepareOrgWebkitAndroidJscR174650Library
:app:prepareTestIgniteExpoReactNativeI18nUnspecifiedLibrary
:app:prepareReleaseDependencies
:app:compileReleaseAidl
:app:compileReleaseRenderscript
:app:generateReleaseBuildConfig
:app:mergeReleaseShaders
:app:compileReleaseShaders
:app:generateReleaseAssets
:app:mergeReleaseAssets
:app:generateReleaseResValues
:app:generateReleaseResources
:app:mergeReleaseResources
:app:bundleReleaseJsAndAssets
Scanning folders for symlinks in /home/yudistira/Codes/Works/testIgniteExpo/node_modules (20ms)
Scanning folders for symlinks in /home/yudistira/Codes/Works/testIgniteExpo/node_modules (8ms)
Loading dependency graph, done.
warning: the transform cache was reset.
bundle: Writing bundle output to: /home/yudistira/Codes/Works/testIgniteExpo/android/app/build/intermediates/assets/release/index.android.bundle
bundle: Done writing bundle output
bundle: Copying 64 asset files
bundle: Done copying assets
:app:processReleaseManifest
:app:processReleaseResources
warning: string 'catalyst_debugjs' has no default translation.
warning: string 'catalyst_element_inspector' has no default translation.
warning: string 'catalyst_jsload_error' has no default translation.
warning: string 'catalyst_jsload_message' has no default translation.
warning: string 'catalyst_jsload_title' has no default translation.
warning: string 'catalyst_reloadjs' has no default translation.
warning: string 'catalyst_settings' has no default translation.
warning: string 'catalyst_settings_title' has no default translation.
:app:generateReleaseSources
:app:incrementalReleaseJavaCompilationSafeguard
:app:compileReleaseJavaWithJavac
:app:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/home/yudistira/Codes/Works/testIgniteExpo/android/app/src/main/java/com/testigniteexpo/MainApplication.java:5: error: cannot find symbol
import com.facebook.react.ReactApplication;
^
symbol: class ReactApplication
location: package com.facebook.react
/home/yudistira/Codes/Works/testIgniteExpo/android/app/src/main/java/com/testigniteexpo/MainApplication.java:7: error: cannot find symbol
import com.facebook.react.ReactNativeHost;
^
symbol: class ReactNativeHost
location: package com.facebook.react
/home/yudistira/Codes/Works/testIgniteExpo/android/app/src/main/java/com/testigniteexpo/MainApplication.java:15: error: cannot find symbol
public class MainApplication extends Application implements ReactApplication {
^
symbol: class ReactApplication
/home/yudistira/Codes/Works/testIgniteExpo/android/app/src/main/java/com/testigniteexpo/MainApplication.java:17: error: cannot find symbol
private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
^
symbol: class ReactNativeHost
location: class MainApplication
/home/yudistira/Codes/Works/testIgniteExpo/android/app/src/main/java/com/testigniteexpo/MainApplication.java:38: error: cannot find symbol
public ReactNativeHost getReactNativeHost() {
^
symbol: class ReactNativeHost
location: class MainApplication
/home/yudistira/Codes/Works/testIgniteExpo/android/app/src/main/java/com/testigniteexpo/MainActivity.java:5: error: MainActivity is not abstract and does not override abstract method getPackages() in ReactActivity
public class MainActivity extends ReactActivity {
^
/home/yudistira/Codes/Works/testIgniteExpo/android/app/src/main/java/com/testigniteexpo/MainApplication.java:17: error: cannot find symbol
private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
^
symbol: class ReactNativeHost
location: class MainApplication
/home/yudistira/Codes/Works/testIgniteExpo/android/app/src/main/java/com/testigniteexpo/MainApplication.java:37: error: method does not override or implement a method from a supertype
@Override
^
8 errors
:app:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app: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.
BUILD FAILED
Total time: 3 mins 59.19 secs
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
My questions:
Is this a bug or do I have to build using exp build:android?
If I have to use Expo can I use native modules, or I should first detach from Expo?
The text was updated successfully, but these errors were encountered:
I tried to generate a signed APK from react native docs, but failed. So I tried to generate a new installation of ignite-expo and tried again, but it still failed with the same errors.
My questions:
exp build:android
?The text was updated successfully, but these errors were encountered: