Error export App


#1

Hi guys, I try to export an app but I receive this error:

Fuse 1.4.0 (build 14778)
Configuring (8.9 s)
Compiling syntax tree (3.7 s)
Generating code and data (1:37)
Building Android app
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
CMake Warning at C:/Users/bonfr/AppData/Local/Fusetools/Fuse/Android/AndroidSDK/ndk-bundle/build/cmake/android.toolchain.cmake:63 (message):
Using custom NDK path (ANDROID_NDK is set):
C:/Users/bonfr/AppData/Local/Fusetools/Fuse/Android/AndroidSDK/ndk-bundle
Call Stack (most recent call first):
C:/Users/bonfr/AppData/Local/Fusetools/Fuse/Android/AndroidSDK/cmake/3.6.4111459/share/cmake-3.6/Modules/CMakeDetermineSystem.cmake:98 (include)
CMakeLists.txt:2 (project)

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:packageDebug’.

com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store “C:\Users\bonfr.android\debug.keystore”: Keystore was tampered with, or password was incorrect

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    Incremental java compilation is an incubating feature.
    :app:preBuild UP-TO-DATE
    :app:preDebugBuild UP-TO-DATE
    :app:checkDebugManifest
    :app:preReleaseBuild UP-TO-DATE
    :app:prepareComAndroidSupportAnimatedVectorDrawable2340Library
    :app:prepareComAndroidSupportAppcompatV72340Library
    :app:prepareComAndroidSupportDesign2340Library
    :app:prepareComAndroidSupportRecyclerviewV72340Library
    :app:prepareComAndroidSupportSupportV42340Library
    :app:prepareComAndroidSupportSupportVectorDrawable2340Library
    :app:prepareDebugDependencies
    :app:compileDebugAidl
    :app:compileDebugRenderscript
    :app:generateDebugBuildConfig
    :app:generateDebugResValues
    :app:generateDebugResources
    :app:mergeDebugResources
    :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:generateJsonModelDebug
    :app:externalNativeBuildDebug
    building C:\Users\bonfr\Documents\Fuse\AppTest1\build\Android\Preview\app.externalNativeBuild\cmake\debug\obj\armeabi-v7a\libAppTest1.so
    :app:compileDebugSources
    :app:mergeDebugShaders
    :app:compileDebugShaders
    :app:generateDebugAssets
    :app:mergeDebugAssets
    :app:transformClassesWithDexForDebug

Running dex as a separate process.

To run dex in process, the Gradle daemon needs a larger heap.
It currently has 975 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to at least 1536 MB.
To do this set org.gradle.jvmargs=-Xmx1536M in the project gradle.properties.
For more information see https://docs.gradle.org/current/userguide/build_environment.html

:app:mergeDebugJniLibFolders
:app:transformNative_libsWithMergeJniLibsForDebug
:app:transformNative_libsWithStripDebugSymbolForDebug
:app:processDebugJavaRes UP-TO-DATE
:app:transformResourcesWithMergeJavaResForDebug
:app:validateSigningDebug
:app:packageDebug FAILED

BUILD FAILED

Total time: 7 mins 41.815 secs
(unknown): E0200: Android build failed
?: Error E0200: Android build failed
(7:49)

Build completed in 580.54 seconds
1 error
fuse: Failed to compile project


#2

Did you check the details of the error and investigate as suggested?

What went wrong: Execution failed for task ':app:packageDebug'. > com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store "C:\Users\bonfr.android\debug.keystore": Keystore was tampered with, or password was incorrect


#3

I dont’t known how i should do


#4

@Simone: the process of signing an Android release is described in our Signing docs.


#5

@Uldis But when i try to execute keytool -genkey -v -keystore release.keystore \ -alias application -keyalg RSA -keysize 2048 -validity 10000 with cmd (Windows 10) in JDK folder it doesn’t generate release.keystone