简体   繁体   中英

Getting Error on Building APK - Android Studio

I am a newbie and trying to build an APK in android studio. Getting the following error

Error : Android Resource Packaging:[Project Name] D:\react-app\Android\App
Error : Android Resource Packaging:[Project Name] src\main\AndroidManifest.xml:45: error:Error:no resource found that matches the given name (at 'label' with value '@string/App_name).

There are approx 9 errors showing. Please help to resolve the problem.

The possible answer to your mentioned error is make sure
string.xml file under

android/app/src/main/res/values/strings.xml

should look like this

<resources>
<string name="app_name">YOUR_APP_NAME</string>
</resources>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM