I have to free some space in my hard disk, and looking for what to delete I found that I have many Android Studio (AS) folders refering to old versions.
The route where I found that folders is: C:\Users\mysuername
What I want is the way to delete the older versions and just have the lastest one (in that moment ASPreview 1.3).
I have just to delete the folders and will be ok? Or I have to do something more to don't "break" AS?
You can also delete the older version folders instead of completely removing the Android studio as you mentioned go to C:\Users\yourUsername and delete older version folder.
Related
Searching for a good Android studio plugins so far and got it some interesting one to use it for code generation, installed and used for some time.
i have used
Android Code Generator Plugin
But after updated to 1.5.0 the plugins not seems to show it from the menu itself.
Here is the screenshot while its working(showing the menu of plugin)
But after update to 1.5.0 the menu is just disappers..
I have uninstalled and installed the plugins many times,
Anyone help me regarding this issue, can't get any content describing this issues.
Since the plugin is supported only for the xml's in layout/ folder and not supporting the other xml's in layout-large or layout-xlarge folder. The documentation of the plugin is not supposed to be clear is the problem of the issue..
As a student learning Android programming, the newest update to Android Studio 1.4 has been a total cluster****. There have been a number of new files added to the project you get from using all the defaults. Deleting any of these files, or deleting any of the values in some of these files, results in a slew of errors in the Android Manifest file. I would really like to avoid dealing with all this, so here's my question:
Is there a way to rollback an update in Android Studio 1.4?
I'm guessing the answer is no. A search of the web showed a few promising hits, but these were all for releases in the 0.* range. And developer.android.com is silent on the issue.
If the answer is no, am I screwed if I don't have an installer from before this update? Or should I just ignore the files for now and not delete any lines of code in these files I am not using. Just starting out in this, I understood quite clearly the files that USED to be generated by the default project settings. All these new files they just tossed in? I'm clueless (for now).
You can find some older versions of Android Studio here: https://developer.android.com/studio/archive
I imported a project from Intellij (pre-Gradle structure) to Android Studio (latest version) by simply copying the files into a new project and making the corresponding changes necessary (loading libs, changing package names, etc.)
It works nearly perfectly except for there's a bug with all the animations and placements of views.
Can this be a problem depending on the IDE or is there something wrong with my code? (I tried the code in Intellij and it worked perfectly after importing the problems occur).
Thank you very much in advance!!!
No. The IDE itself changes nothing about how an application is built or runs. The IDE exists to provide a convenient way of viewing and editing your code.
The most likely culprits are using different versions of the build tools or using different versions of libraries.
Well I want to highlight this and bring it all in this thread, as the rest of threads did not have a concluded answer, so before skipping into them here are the threads I referred to:
Adt doesn't create default hello world but command line does
[solved ]Eclipse behaving differently while creating new project/activity
ADT has been behaving a bit weird since past few days. I keep my SDK always updated so I frequently Run the SDK manager and download all the updates. recently I noticed that if I create a new android app project it is not creating a default MainActivity even if I check that box, it does not create a Activity under src and more to annoy me, I wasnt able to refactor anything, so I realized that I had to update my Eclipse as after reading few posts, but now when I create every new project it creates an annoying appcompat_v7 project with EVERY project, say I create two new projects it creates appcompat_v7_2....this is driving me crazy and the new project library is the appcompat_v7 project. This is becoming annoying and no idea whats going on here !!!! What should I do...please rescue me ! Thanks in advance ....A screenshot to annoy u guys too ... :)
***************Current Alternative, not a solution***********************
As of 12/5/2014 with ADT 23.0.2 I dont see this issue anymore.
I have waited for an acceptable solution on this issue (as of now there is none), but one of the SO members directed me to this post https://code.google.com/p/android/issues/detail?id=66975. What I am doing is described in one of the solutions below, but for people who have come to this post, the alternative is to delete that ugly project(if you have more than one) which has been created and add up this one(appcompat_v7) as a library. So if you create another project and appcomat_v7_2...comes up delete that and point your project to the appcompat_v7, do the same for other projects too. This is not recommended for some reason though, but it worked well for me till now without issues. If anyone hits up with a solution please post it here.
****************Current Alternative, not a solution*****************************
the folder appcompat_v7 doesnt get created if i use
minSdkVersion="14"
Seems like it is a eclipse bug. What you need to do is go to properties in the of the Android Project and in the Android Section. Add the library appcompat_v7 and remove the appcompat_v_7_2 (duplicate). Then you can remove the appcompat_v7_2 as a eclipse project. All errors fixed.
Just a workaround.
The appcompat project is a library to support android's older versions. The support library was introduced by Google recently - I donĀ“t know in which Android version.
But the point is, this project is only created when you create an Android project to cross Android platforms. I mean, when you select an old min API, e.g. API 8 (Froyo), but target recently versions, your project must have the support library.
Anyway, the creation of appcompat_v7 project is some issue that has to be better configured by the eclipse plugin maintainers. However you can elegantly turn over this issue by targeting newer APIs and including in the build path the support library. This is more elegant than the others because it is better to you focus in only one android version when building your application, and when it is done, you have an authentic version of your app that you can use as a mold to support other versions, either older or newers.
I have re installed android sdk (platform 2.3.3). Now I have different set of folders on my package explorer.
For example there are folders called drawable-xhdpi , Android dependencies which weren't there before. Also by default the main.xml is now generating on RelativeLayout instead LinearLayout.
How to avoid that?
Layout-land folder is missing as well.
How can I get the previous folder set?
I guess you were using an older version of android SDK. When you reinstalled the SDK it got updated. Folders like drawable-xhdpi are automatically added to the package explorer in the newer version of Android SDK.
To avoid this, degrade your SDK version or delete unwanted folders manually. You can find the older releases from this link.