嗨我用这篇文章改变了我的启动画面for android via react native但我得到了这个错误:Article Link
:app:mergeDebugResources
:app:bundleDebugJsAndAssets SKIPPED
:app:processDebugManifest
:app:processDebugResources
D:\Projects 2016\Web\Android\3 Splash Project\Mohajerkade\android\app\build\inte
rmediates\res\merged\debug\values\values.xml:1365:47-74: AAPT: No resource found
that matches the given name (at 'android:windowBackground' with value '@drawabl
e/background_splash').
Failed to generate resource table for split ''
D:\Projects 2016\Web\Android\3 Splash Project\Mohajerkade\android\app\build\inte
rmediates\res\merged\debug\values\values.xml:1365: error: Error: No resource fou
nd that matches the given name (at 'android:windowBackground' with value '@drawa
ble/background_splash').
:app:processDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt
@drawable/background_splash
在Style.xml中,我该怎么办?
答案 0 :(得分:1)
此问题可能是由文件权限引起的。我的操作系统是Win10。我以管理员身份运行终端。在loaded
答案 1 :(得分:0)
我的文章是android的基础,本文主要关注RN(https://medium.com/handlebar-labs/how-to-add-a-splash-screen-to-a-react-native-app-ios-and-android-30a3cec835ae)
通过spencer carli获奖