assets: will not generate the corresponding tag under r.java file, assets folder is not created by default need to create their own folder and resource folder with the same parent directory, using the AssetsManager class to access, stored here when running the packaging of resources will be entered into the program installation package.
resource : the tag will be generated under the r.java file. The resource here will determine what is used when running the packaging operation. The file resources that are not used will not be packaged into the installation package . The file using resource is called by the R class according to the path
Read More:
- Android android.intent.category Purpose and use of. Launcher
- [error record] Android App packaging error (entry name ‘assets / xxx. XML’ merged)
- ionic android Current working directory is not a Cordova-based project.
- Error in Cordova project execution command after Android studio upgrade: could not find gradle wrapper within Android SDK
- Error in publishing project with Maven in idea. Git directory is not found! Please specify a valid
- [SharePoint] after deploying webpart, the solution to the resource file in the layouts mapping directory referenced by webpart cannot be found
- How to Fix com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
- Differences between VI and VIM in Linux
- Android Error:AAPT: error: resource android:attr/colorError not found
- 26、Error:No resource identifier found for attribute ’roundIcon’ in package ‘android’
- Error report set of unity: failed to unload “assets / animation / clips / run_ 5.anim”
- android studio Error Gradle project sync failed. Please fix your project and try again
- Error resource Android datalogcornerradius not found
- Android Studio could not resolve resource
- Solution to error opening trace file: no such file or directory (2) in Android
- Android Studio Series: after Android studio is opened, the project window will not be displayed.
- Differences between Java stack overflow ror and outofmemoryerror
- Differences between Java and kotlin access modifiers
- Android project error: could not resolve com.android.support .c onstraint:constraint-layout :2.0.2.
- Unit automatically delete the resources under the unreferenced assets