
java.lang.IllegalStateException: You need to use a Theme. AppCompat theme (or descendant) with
Error reason:
1, style.xml file has properties that are inherited from ordinary android, however, your activity has inherited AppCompatActivity, so the properties of style should also be changed to the properties below androidx.![]()
Solution:
Find the properties of the normal android package in the style.xml file and replace them with the properties of androidx.
Read More:
- [Solved] fragment error: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.myapplication/com.example.myapplication.MainActivity}…
- Kotlin activity Startup and Compile Error [How to Solve]
- [Solved] SpringBoot+Dubbo Startup Error: Fail to start server(url dubbo192.168.0.920880service
- [Solved] SpringBoot+Dubbo Startup Error: Fail to start server(url: dubbo://192.168.0.9:20880/service
- [Solved] Activity jump permission UID Error: ActivityTaskmanager: Permission Denied
- IDEA Maven Fail to Download Dependencies Error: ERROR – #org.jetbrains.idea.maven – Cannot reconnect.
- Flutter: How to Fix Android module can’t recognize flutter SDK source code
- Android solution Java.util.concurrent.ExecutionException: com.Android.ide.common.process.ProcessException: exception
- Android studio compilation failed: java.util.concurrent.ExecutionException: com.android.ide.common.process.Process
- [Solved] Android Could not determine artifacts for XXXX: Skipped due to earlier error
- nc ecplise Switch home[UNK] Error: java. lang.InternalError: Error in EVP_CipherFinal_ex.
- [Solved] android Execution failed for task ‘:app:processDebugManifest‘
- Android startup page (solve the problem of starting black and white screen)
- [Solved] could not open error log file: CreateFile() “logs/error.log“ fail
- [Solved] seata Error: io.seata.rm.datasource.exec.LockConflictException: get global lock fail, xid:xxx, lockKeys:xxx
- Android Compile Error: “SSL error when connecting to the Jack server. Try ‘jack-diagnose‘”
- [Solved] AS Error: Error inflating class android.support.v4.view.ViewPager
- How to Solve Error: Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.
- [Solved] Failed to bind properties under ‘spring.servlet.multipart.file-size-threshold‘ to
- [Solved] AndroidStudio Error: Could not initialize class com.android.sdklib.repository.AndroidSdkHandler