Android App Development for Beginners – 3 – Setting up Your Project

Share it with your friends Like

Thanks! Share it with your friends!

Close

Visit my website at https://www.thenewboston.com/ for all of my videos and tutorials!
Have questions or looking for source code? Check out the forum at https://www.thenewboston.com/forum/category.php?id=10

My Profile – https://www.thenewboston.com/profile.php?user=2
Facebook – http://www.facebook.com/pages/TheNewBoston/464114846956315
Google+ – https://plus.google.com/+BuckyRoberts/posts
Twitter – http://twitter.com/#!/bucky_roberts
Donate – https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5K9RJVCAKWZKS

Comments

vance69 says:

you're annoying af bruh.

SNS20129619 says:

i am unable to select any activity- it shows the msg : selected activity has a minimum SDK level of 7

Jaspreet Kaur says:

hey… getting an error that HAXM Intel not installed properly… pls help

The Flash says:

phone didnt show up, what should I do

Dhawal Singh says:

Hey! I have just installed android studio and every time I open the studio it starts downloading sdk components. Please help.

Raj Shekhar says:

I get the below error when I tried downloading Android. Will this cause problems while programming ??"This computer meets the requirements for HAXM, but Intel Virtualization (VT-x) is not turned on. HAXM cannot be installed until VT-x is enabled. Please refer to the Intel HAXM documentation for more information."" Pls help

ashwin swain says:

hey bucky…can we create the project folder in another drive coz I m running out of space??

surendra rajkumar says:

even after installing HAXM from SDK manager it is showing the same error that the intel HAXM is not installed properly
… what could be the reason

alienakalord says:

if i would like to make an android app once, do i need a website? i mean if i dont have then i can't put my app to the store or what?

Peter Moua says:

Is there an update on what Minimum SDK you should choose now? Or should we still go with API 8: Android 2.2 (Froyo)?

Harsh Agarwal says:

i dont hv a domain what to do

frank299 says:

Thanks you. Very helpful videos.
What specific parts of Java should I focus on learning well prior to continuing with Android dev ?

Marcus Simpkins says:

For everyone that is getting a bunch of error messages, click Build from the bar up top, and select Make Project. That should fix it.

Du5t I-I4Ck3R says:

company is i think idk if its real but i think its also when you rooted your phone whats in the root folder

Tariq Aziz says:

hi, i m getting error(23,17) failed to resolve :junit:junit:4.12
….
basically just after creating project i am not able to see the android phone (in Activity_main) …..
ny suggestionz what to do??

Shantam Mittal says:

I am getting 117 errors after just creating a project please help.

Error:(6, 21) No resource found that matches the given name: attr 'android:textAlignment'.
Error:(10, 21) No resource found that matches the given name: attr 'android:paddingEnd'.
Error:(10, 21) No resource found that matches the given name: attr 'android:paddingEnd'.
Error:(13, 21) No resource found that matches the given name: attr 'android:paddingStart'.
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Inverse'.
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Large.Inverse'.
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Medium.Inverse'.
and many more.

Best Teemo says:

your material is good, but please stop being so damn disgusting in your videos.

muadhnate says:

Humble opinion: Start with ICS Android 4.0. Google pretty much rebooted their OS with that version and it scales across multiple devices. Phones are getting cheaper and more powerful, so upgrades are happening faster. Android versions, even at the low end, start with ICS.

zeeshan shafique says:

I am facing the problem just like that what I should have to do???
Gradle 'MyApplication2' project refresh failed
Error:Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at http://gradle.org/docs/2.4/userguide/gradle_daemon.html
Please read the following process output to find out more:
———————–
Error occurred during initialization of VM
Could not reserve enough space for 1048576KB object heap
Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

Shadman wakil says:

what if i change the project location .
does it matter much???

JackTjWorld says:

I don't have a domain anyone help me im dying

Shiraz Yaseen says:

i am having a problem plz help me out !!!!

Tech N “N” Andro Geekzz says:

Is there any others experiencing problem opeaning it on windows-10.For some time i had been using it on windows-7 and worked fine with it and now on windows-10 it got installed perfectly and when i tried to open it,it displayed the following error code.-

Internal error. Please report to https://code.google.com/p/android/issues

java.lang.RuntimeException: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'name' of com/android/tools/idea/welcome/Platform.<init> must not be null
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:178)
at com.intellij.idea.MainImpl$1$1$1.run(MainImpl.java:52)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:362)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'name' of com/android/tools/idea/welcome/Platform.<init> must not be null
at com.android.tools.idea.welcome.Platform.<init>(Platform.java)
at com.android.tools.idea.welcome.Platform.getLatestPlatform(Platform.java:72)
at com.android.tools.idea.welcome.Platform.createSubtree(Platform.java:89)
at com.android.tools.idea.welcome.InstallComponentsPath.createComponentTree(InstallComponentsPath.java:81)
at com.android.tools.idea.welcome.InstallComponentsPath.init(InstallComponentsPath.java:215)
at com.android.tools.idea.wizard.DynamicWizardPath.attachToWizard(DynamicWizardPath.java:97)
at com.android.tools.idea.wizard.DynamicWizard.addPath(DynamicWizard.java:233)
at com.android.tools.idea.welcome.FirstRunWizard.init(FirstRunWizard.java:75)
at com.android.tools.idea.welcome.FirstRunWizardHost.setupWizard(FirstRunWizardHost.java:100)
at com.android.tools.idea.welcome.FirstRunWizardHost.getWelcomePanel(FirstRunWizardHost.java:92)
at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.<init>(WelcomeFrame.java:68)
at com.intellij.openapi.wm.impl.welcomeScreen.WelcomeFrame.showNow(WelcomeFrame.java:173)
at com.intellij.idea.IdeaApplication$IdeStarter.main(IdeaApplication.java:302)
at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:172)
… 16 more

any one knows a fix please comment below….

Tony Wai says:

I have reached up to AVD manager and got stuck. This is the message appeared : " C:UsersuserAppDataLocalAndroidSdktoolsemulator.exe -netdelay none -netspeed full -avd Nexus_5_API_22_x86
emulator: device fd:692
HAX is not working and emulator runs in emulation mode
emulator: The memory needed by this AVD exceeds the max specified in your HAXM configuration.
emulator: AVD      RAM size = 1536 MB
emulator: HAXM max RAM size = 512 MB
emulator: You might want to adjust your AVD RAM size and/or HAXM configuration to run in fast virt mode.
creating window 40 55 309 547
emulator: emulator window was out of view and was recentered "

How can I resolve the above issue ? Anyone can help ? Thanks

Štefan Hnát says:

5:06 😀 😀 hahahaha … love this non formal friendly tutorial :D

Matthew Kube says:

What do I put in the domain name if I don't have a website?


Write a comment