AndroidManifest: '.AnyOrientationCaptureActivity' is not assignable to 'android.app.activity'
See original GitHub issueI am not sharing my manifest file(for obvious reasons) but I would like to point out this error:
'AndroidManifest: '.AnyOrientationCaptureActivity' is not assignable to 'android.app.activity'
in the AndroidManifest.xml. I think its an error in the src code.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
not assignable to 'android.app.activity' extends application
1 Answer 1 ... Of course an Application is not assignable to an Activity . Either change this to MainActivity extends Activity ,...
Read more >screens in the AndroidManifest show that they are not ... - GitHub
... in the AndroidManifest show that they are not assignable to 'android.app. ... The error goes away if my MainActivity extends Activity ....
Read more ><activity> | Android Developers
Declares an activity (an Activity subclass) that implements part of the application's visual user interface. All activities must be represented ...
Read more >Find & control your Web & App Activity - Android
If Web & App Activity is turned on, your searches and activity from other Google services are saved in your Google Account, so...
Read more >Different Ways to fix “Default Activity Not Found” Issue in ...
In this click on Invalidate Caches and Restart option to Restart your Android Studio project. Method 4: Check the Manifest file for your ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
From a quick check it seems like that error is common when referencing something in the manifest which does not extend
android.app.Activity
(e.g. if it’s a Fragment, or something else completely).I completely understand