Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Android
  4. Android studio not showing all activity templates so need help

Android studio not showing all activity templates so need help

Scheduled Pinned Locked Moved Android
helpandroidannouncementwpfquestion
3 Posts 3 Posters 6 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Preeti Sarkar
    wrote on last edited by
    #1

    I am using windows 10. Android studio Koala latest release. Have used Hedgehog and Chipmunk versions. The Chipmunk version gave google maps and settings activity template. For Hedgehog these activity templates disappeared after 3 projects. Now when I have installed Koala it shows only 5 templates. I need the settings template but can't find it in koala and Hedgehog. Is it just me or everyone having this problem. And it its only at my end how do I get the template setting activity. Got stuck in my first new project I have tried uninstalling and reinstalling the Koala and Hedgehog versions but no change. Problem persists

    A Y 2 Replies Last reply
    0
    • P Preeti Sarkar

      I am using windows 10. Android studio Koala latest release. Have used Hedgehog and Chipmunk versions. The Chipmunk version gave google maps and settings activity template. For Hedgehog these activity templates disappeared after 3 projects. Now when I have installed Koala it shows only 5 templates. I need the settings template but can't find it in koala and Hedgehog. Is it just me or everyone having this problem. And it its only at my end how do I get the template setting activity. Got stuck in my first new project I have tried uninstalling and reinstalling the Koala and Hedgehog versions but no change. Problem persists

      A Offline
      A Offline
      Andy Frank
      wrote on last edited by
      #2

      Hi Preeti, Can you try these solutions Update Android Studio: Ensure you have the latest version installed. Check Plugins: Go to File > Settings > Plugins and ensure relevant plugins are enabled. Reset IDE Settings: Go to File > Manage IDE Settings > Restore Default Settings to reset Android Studio. Manually Create a Settings Screen: Create a new empty activity: File > New > Activity > Empty Activity and name it SettingsActivity. Add a PreferenceFragmentCompat to manage your settings:

      public class SettingsActivity extends AppCompatActivity {
      @Override
      protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      getSupportFragmentManager().beginTransaction()
      .replace(android.R.id.content, new SettingsFragment())
      .commit();
      }

      public static class SettingsFragment extends PreferenceFragmentCompat {
          @Override
          public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
              setPreferencesFromResource(R.xml.preferences, rootKey);
          }
      }
      

      }

      I hope this will work for you and resolve your issue....... .:)

      1 Reply Last reply
      0
      • P Preeti Sarkar

        I am using windows 10. Android studio Koala latest release. Have used Hedgehog and Chipmunk versions. The Chipmunk version gave google maps and settings activity template. For Hedgehog these activity templates disappeared after 3 projects. Now when I have installed Koala it shows only 5 templates. I need the settings template but can't find it in koala and Hedgehog. Is it just me or everyone having this problem. And it its only at my end how do I get the template setting activity. Got stuck in my first new project I have tried uninstalling and reinstalling the Koala and Hedgehog versions but no change. Problem persists

        Y Offline
        Y Offline
        yolanda smith
        wrote on last edited by
        #3

        well i think this issue may be due to changes in the latest versions. reset your Android Studio settings.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups