Discussion Forums  >  Basics, How it Works, Is it free?

Replies: 8    Views: 126

crazy android
Aspiring developer
Profile
Posts: 172
Reg: Oct 24, 2011
Las Vegas, Nv
9,920
10/08/15 09:07 PM (3 years ago)

android studio

is there any type of tutorial on how to install android studio to mac
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
10/08/15 10:51 PM (3 years ago)
Installing Android Studio itself is a breeze and not different to any other install on the Mac. However, after you install the Studio, you still have to install the SDK to work with the Android. Please refer to the PDF that comes along the download of the app from buzztouch.com. Ideally, you should have only those SDK parts that are mentiond in that PDF.

BT needs Android 14 to work with and you will not be given the chance to download it unless you click on the Obsolete button in SDK Manager. Only then will you be shown the older versions of the SDKs, and 14 is what you need.

NOTE: You will see the Obsolete button only if you run the Standalone Android SDK Manager.

There is also a danger of downloading too many SDKs, which currently have numbers 23 up to 25. You may end up with hundreds of errors (says it needs an attribs file or something). Google that around and either delete the offending files in the SDK Manager or add the missing files into your project, under /res/values folder.

Once you have sorted it out, open the file

build.gradle (Module: app)

and enter this:

apply plugin: 'com.android.application'

android {
compileSdkVersion 14
buildToolsVersion "22.0.1"

defaultConfig {
applicationId "com.xxxxxxxx"
minSdkVersion 14
targetSdkVersion 14
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
lintOptions {
abortOnError false
}
}

dependencies {
compile files('libs/gcm.jar')
compile 'com.google.android.gms:play-services-ads:7.3.0'
}

Instead of xxxxxxx put the core project name you have in your BT control panel for the app.

The version number for Google Play Services will change in time. Instead of 7.3.0 it may be something else in the future and is sure to change. Version 7.3.0 is what works now.

That would be the gist of it, and should serve you well as a starting point of working with Android Studio and Buzztouch.
 
miku
Aspiring developer
Profile
Posts: 404
Reg: Feb 20, 2014
zagorje ob savi
10,590
like
10/09/15 12:36 AM (3 years ago)
Dusko,
I have Java 1.6 on my Mac, it is needed for Eclipse. For Android Studio is Java 1.7 or higher needed. May I have both version on same mac, and switch between them to use Eclipse or AS?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
10/09/15 12:39 AM (3 years ago)
I use Java 1.7 on my mac... Eclipse still runs just fine. So does Android Studio.

Cheers!

-- Smug
 
crazy android
Aspiring developer
Profile
Posts: 172
Reg: Oct 24, 2011
Las Vegas, Nv
9,920
like
10/09/15 07:25 AM (3 years ago)
So I can still run eclipse instead of an android studio?
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
10/09/15 07:36 AM (3 years ago)
Of course you can still run Eclipse instead of Android Studio, however, the sooner you make the switch, the better.
 
crazy android
Aspiring developer
Profile
Posts: 172
Reg: Oct 24, 2011
Las Vegas, Nv
9,920
like
10/09/15 07:39 AM (3 years ago)
Ok just had to tie up a few apps that I never finished then I'll try to figure out the studio thank Dusko
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
10/09/15 10:43 PM (3 years ago)
Did a tutorial on this about a year ago!

https://www.youtube.com/watch?v=t5oU7lQLRKw

Mark
 
crazy android
Aspiring developer
Profile
Posts: 172
Reg: Oct 24, 2011
Las Vegas, Nv
9,920
like
10/10/15 09:55 AM (3 years ago)
I knew you had a tutorial on that thanks Mark
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.