Android Studio 3.2.1 does not find "Default Activity"

-1

I've been having this problem since Android 3.2. I have already done the following procedures to try to fix the problem:

- I've done clean and rebuild of the project
- I already cleared the cache and restarted Android Studio
- I already sync with Gradle (this works, but only lets install the app only once, then gives error again)
- I deleted and re-created the project several times (never good)


Can you give me a hand? I do not even know what to do. Follow the prints below.

    
asked by anonymous 20.10.2018 / 20:01

2 answers

0

Could you do some testing?

  • In the OnCreate () of your BaseActivity, set the contentView.

    setContentView (R.layout. "YourLayout")

  • Attempting to set the activity of your launcher in the hand, following its second screenshot, where it is "Default Activity" changes to "Specified Activity" and in the field below select your activity base.

  • 22.10.2018 / 16:15
    0

    Try to clear the Android Studio Cache on:

    File - > Invalidate Caches / Restart ...

    If it does not work, make sure that all the SDK, JRE, and NDK paths are up to date and pointing to the correct installation paths. In:

    File > Project Structure > SDK Location

    And the SDK release packages on:

    File > Settings > Apperance & Behavior > System Settings > Android SDK

        
    22.10.2018 / 16:44