• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

How to import chapter codes to android studio ?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just install android studio
just download book all chapter codes
How to import chapter codes to android studio ?
THanks
 
author & internet detective
Posts: 41124
848
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Daniel,
Which book? Do you have a link to where you downloaded the chapter code from?

Answering this question will depend on the format the book provided the code in.
 
Daniel Hu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

book "Android programming the big nerd ranch guide" 3rd edition

below is link of all chapter codes

https://github.com/ChloeLiang/Android-Programming-The-Big-Nerd-Ranch-Guide-3rd-Edition
 
Jeanne Boyarsky
author & internet detective
Posts: 41124
848
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks. So what you have is a bunch of Gradle projects with IntelliJ IDEA settings. (Android Studio is IntelliJ IDEA under the hood.) Lucky, these are easy to import.

The
  • Android Studio help page
  • lists a bunch of ways to get code in. You want the simple one:

    Import a Gradle-based IntelliJ project

    If you are already using Gradle with your IntelliJ project, you can open it in Android Studio using the following steps:

    Click File > New > Import Project.
    Select your IntelliJ project directory, and click OK. Your project will open in Android Studio.

     
    Daniel Hu
    Greenhorn
    Posts: 3
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Hi, I followed instruction but not worked

    The book is book "Android programming the big nerd ranch guide" 3rd edition

    below is link of all chapter codes

    https://github.com/ChloeLiang/Android-Programming-The-Big-Nerd-Ranch-Guide-3rd-Edition

    After install android studio I tried to import project from book java files but it's not works.
     
    pie. tiny ad:
    Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    reply
      Bookmark Topic Watch Topic
    • New Topic