Why can't I see my module in android studio? - java

why can't I start my emulator and why my module doesn't appear ? I cloned project from GitHub and when I want to run project to see on the emulator but there is no emulator and no module. hear is screen shot what can be the problem I couldn't find it ?
SOLVE
I solved the issue.
I chose the folder where the project is in the project opening screen of android studio and said open it like that and the no module problem was solved.

Related

Error occurred in my android studio Project.....can't find the solution on google

I have made a simple app. It was running fine. I had never used git. So, I watched a simple tutorial on youtube and installed the git and have made an account on Github. And also have added the account on the android studio and made the initial commit. Just after that, an error is showing in (ExampleInstrumentedTest.java)... and when I try to run the app. it builds without error but fails to install in my android device.
I searched for the solution on google. And find that disabling the instant run can solve this. but in the latest version of the android studio. instant run feature is not used.here is the screenshot and here is the screenshot for dependencies
Edit: now I have found out that it is running on other android devices but not on my android device. I think this problem arose after I unrooted my android device.
Just close the project and import it same.Its work for me.
File > New > Import Project > your project
Go to Build >Clean Project followed by Rebuild Project.
If it works then ok, otherwise uncommit git changes and then rebuild Project. It will work.
It was not installing the app on my device since I had unrooted my phone. So, I rooted the phone again and now the problem is solved.

Android Studio Google Precondition

About two weeks ago i started doing some small apps in Android Studio.
Im pretty new to this environment so im having this problem.
Last night i was working on my app, everything was running so i saved and turned off my pc.
Today i opened Android studio and the message:
Unable to load class 'com.google.common.base.Preconditions'.
And i dont know how to solve it , i already tried this things:
Do a clean install of Android Studio
Clean Project & Build project (Tried it but no solution)
Check "Offline mode" (It was already checked off)
Invalidate Cache/Restart (Done it but no solution)
Erase "gradle" folder from my "Android" folder, but no "Automatic" download happened when i reopened so i had to reinstall the application
Ive already saw a lot of posts from differente forums but im not getting any solution
Thanks to all
Try deleting the .gradle directories both in your home directory and in your project's directory and see if it works. I believe that, since Android Studio will be forced to re-download all the files for the current version of gradle, it might solve your problem.

Error loading project after Android Studio 2.3 updates

Today I updated my Android studio to new version 2.3 and when I try to load my project popup with following error. Please help me out as I am working on some important project.
thank you
I had similar problem but with different plugin (BlackBerry OS AVD caused this problem). I searched for plugins name (last line in your error message), it showed BB dev site, I immediately knew what was going on.
Find which plugin caused error, then go to Configrue (bottom right corner) -> Plugins -> delete your plugin, restart android studio.
Worked for me.
I had the same problem, some plugins were creating problem for me. so delete the plugins and restart the android studio.

Downloading a libgdx Project Gradle Problems

So my friends and I are making a game for Android and we are using Android studio. We are using libgdx. We are also learning how to use github. Anyways, using Android Studio, I uploaded the basic libgdx setup. The one that just displays the Bad Logic image. My friend downloads it from github using Android studio but there are errors everywhere. It says that it can't find the badlogic package and it gives the following error:
This project does not use the Gradle build system. We recommend that you migrate to using the Gradle build system.
I know that libgdx uses gradle. So what is the problem? Why can't we simply upload and then download a simple project?
Thanks!
Try to remove the .gradle directory and re-import the project or use the Setup App Installer from here to create a new gradle project.
Thanks for the help! I finally figured it out.
Basically, when I imported the project, I was just importing with existing project files. These are the steps I took to get it fixed.
Check out from Version Control using Android Studio and the welcome screen.
When asked to open, say NO.
Go to the folder that is associated with the repo.
Create a local.properties file there and in that file it should have
sdk.dir = /YOUR/PATH/TO/SDK/HERE
Then go back to Android Studio.
Click Import Project and select the folder that has it in there.
From then on, it should work forever as the .gitignore file that is generated by libgdx will ignore the local.properties file when pushed. I hope this helps someone!

No Android Project option in Eclipse with ADT Plugin

I'm an experienced programmer and android user. I'm following a guide for creating the android project in eclipse from the android developer site, and I've followed every step up to creating the project, and the ADT plugin has been correctly installed and configured. The problem: Under the android tab in the new project wizard there is no option for android project. There are various other android options like Android Activity, Android Application Project, Android Icon Set, etc. Does anybody know how I can enable the option for Android Project? I have searched this site, along with various others, and nobody seems to have the same problem. Here is a link to an XDA post I made about this problem: http://forum.xda-developers.com/showthread.php?t=1747568. I attached a picture of the problem. Thank you! Here is a picture of the problem: http://i.stack.imgur.com/8mRFi.png
With the latest ADT (20) a few changes were made to the UI and the tutorials in the Android Training section are a bit out of date. You are probably looking for 'Android Application Project'.
An Android Application Project is an Android Project.

Categories