错误日志:-
[stderr] FAILURE: Build failed with an exception.
[stderr] * What went wrong:
[stderr] Execution failed for task ':app:packageRelease'.
[stderr] > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
[stderr] > com.android.ide.common.signing.KeytoolException: Failed to read key my-app from store "/tmp/turtle/keystore-555a98a6-4493-4e37-a56a-d5287960afaa.jks": No key with alias 'my-app' found in keystore /tmp/turtle/keystore-555a98a6-4493-4e37-a56a-d5287960afaa.jks
[stderr] * Try:
[stderr] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[stderr] * Get more help at https://help.gradle.org
[stderr] BUILD FAILED in 4m 52s
{
"expo": {
"name": "new-app",
"slug": "new-app",
"version": "1.0.0",
"sdkVersion": "38.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"android": {
"package": "com.lingonsaft.myapp",
"versionCode": 1,
"icon": "./assets/icon.png"
},
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
},
"web": {
"favicon": "./assets/favicon.png"
}
}
}
我的app.json。
我在使用expo build:android制作项目的apk时遇到了这个错误,因为我的项目是用react native编写的。谁能告诉我我的app.json是否有问题或其他问题。