Im completly new to Android App development and need help to get on my feet to start my first project.
So I just created a simple project, a blank app android project in visual studio.
And when i try to deploy it, it doesnt want to start up, and it doesnt show the error in the solution explorer.
Here if the first picture
And this is what it looks like
Solution.
If you havent already install this
https://xamarin.com/android-player
If you are still getting error, update the oracle VM VirtualBox to 5.0.16
And if you are still having issues, restart your PC and it will work!
Related
Hey guys and girls for a the past week I've grown a lot of interest in android studio (even without knowing quite much about it) I decided to create an app that I deemed quite useful. However the app required maps to be integrated in it and I really did not know what I was doing and at one point I started messing with the settings and then all hell broke loose and I kept getting AAPT2 errors and I even tried to fix this issue with the gradle properties line that you add (I forgot the line of code to add). Anyways it still didnt work. However I rembered that I always kept the good version (before I broke everything) of the app on my phone. So when I go in my phone the app is there and it works just fine. Ive tried so many things to get the source code from the app on my phone without any succes. My question is, how can I get the source code back from the working app onto my laptop to continue coding in android studio? If it helps I am using Linux 18.04 LTS and running the newest version of android studio. Thank you for any help from you guys. This means a lot to me.
You can’t get back the ‘source code’ from an already compiled app.
You should consider using some version control platforms like git from the next time
I am new to android application.
i have downloaded Android Studio from http://developer.android.com/
I just created one project and click on run button.
but it just keep showing me from past 2 hours
what should i do now ??
is there any step by step instruction that i can follow?
This is usual, there are some tricks to avoid this, see this Why emulator is very slow in Android Studio?, and i use BlueStack for debugging. it's better than anything.
I am having a good problem with Android Studio. Initially I was using eclipse to develop android App, but eclipse display funny stuffs like deleting all my codes and most times crashes so I decided to try Android Studio.
Now am using android studio, but whenever I open an activity to start typing code, the IDE forcefully shuts down. Initially i tougth this happens when there is an error in your code, because I had an instance where the IDE shut down, was fixed by correcting the errors. But now the codes are all correct and when I install on emulator it installs properly.
But whenever I open an Activity and start to type Android Studio shuts down. I have tried to check for similar question, but could not find anything suitable. Please I need your help because I have a lot of project with deadlines and this AS behaviour is making me run nuts.. Thanks
There might be memory issue with Android Studio. I recommend you to shutdown all the heavy-weight memory consuming application like Chrome etc. to be shutdown.
I hope it will help.
Thanks all I finally got the solution to the shutdown. I had to create all the Activity used from AS and copy the codes into each file created. Initially i copied all the Activities, resources and Manifest I created in eclipse and paste them into AS. I guess AS doesn't perform auto update and this cause it not have have reference of the pasted files in memory making it to crash.
Sometimes some plugins keep running if studio crashes and they consume so much memory that studio is not able to launch again.
Or see if other applications are running and consuming much memory.
Or you can restart the system.
My studio's current version is 0.9.9 (recently updated), now here is the history:
There was some problems when I shifted eclipse to studio. The last problem happened when I updated it. My app became full of error. One of them was cannot resolve Symbol ActionbarActivity. And so many others. I spend a day behind it and gave up. I recreated my app from first to last with the same resources, then it became totally good to go. Three days later(today) again another problem raised. I turned on my laptop, opened Android studio and it says Rendering problem No Android SDK found. Please configure an Android SDK. But last night it was running fine. Now there is no design window.
I am wondering that why the errors come automatically. I don't do anythings in the settings stuff of the studio. I just develop my app. I just write code and make my app. So whats wrong with the studio. It crashes without any reason and I have to waste the half of the time. Is this a kind of jokes? It too much irritating. Updating latest version is not the reason. The problem is occurring from whenever I downloaded the Android Studio and shifted from Eclipse to it. With 2 or 3 days intervals it comes with new problem.
I suggest you to try fresh Installation or, As it happens because of some internal Intellij's libraries problem.
So I updated my Android Application lately and exported it to a .apk so I could send it to some other android phones. The exportation finished without errors, and everything was fine. But when I installed the app using the .apk, it seemed like I got an older- or half version of the app. Some functions don't work at all, and the app takes about 50% less space on the other phones. On my own phone, the app works perfectly and takes all the space it's supposed to. The weird thing is that I'm using the same .apk to install the app on both my own phone and the other phones.
Is there a possible error or solution for this? I really need the new functions, or the app won't work well! I also searched for a solution for hours, so don't blame me if there's already a same question out there.
Try Clean
Select your project in Package Explorer
Go to Project in menu and select clean.
Press F5
If this does not works
Try restarting eclipse else restart your PC
Sometimes Eclipse will not be able to access your files if they are not referenced correctly.
If this does not works try putting your code here that is not working.
Thanks.