Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #30149
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | John Doe <always.look@message.header> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Android Studio built-in samples okay but imports don't work |
| Date | Tue, 21 Oct 2014 20:23:08 +0000 (UTC) |
| Organization | A noiseless patient Spider |
| Lines | 35 |
| Message-ID | <m26fbc$gmc$1@dont-email.me> (permalink) |
| References | <m1n82d$ddl$1@dont-email.me> <m1onpo$umm$1@dont-email.me> <m1ostr$jrk$1@dont-email.me> |
| Injection-Date | Tue, 21 Oct 2014 20:23:08 +0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="fc32ca8a1c0a511aba96be8caa02b8f6"; logging-data="17100"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3yOE7zRpxc9fVyALZevO0RR5Avs8rpXk=" |
| User-Agent | Xnews/2006.08.05 |
| Cancel-Lock | sha1:hd9ZGfN0SJWwnAKnvEI2ninP+E8= |
| Xref | csiph.com comp.lang.java.programmer:30149 |
Show key headers only | View raw
This is the original...
https://github.com/gdg-hudson-valley/android-samples
We imported and built Android Developers Samples to run on Android
Studio (currently at v0.8.9). Doing this required the following
changes after the relevant's project zipfile was downloaded from its
specific page on the samples site.
First, in the build.gradle file,
change classpath to'com.android.tools.build:gradle:0.12.2'
change buildToolsVersion to "20.0.0"
change plugin to 'com.android.application' (from 'android')
change 'com.android.support:' dependencies to remove "+"
versions (replace with 20.0.0)
Next,
import the project into Android Studio (File->Import Project)
rebuild it (automatically, or manually using Project->Rebuild).
if build errors occur, try 'File->Invalidate Caches/Restart',
then rebuild
Finally,
verify project build by running the application in an emulator,
or on a connected Android Device.
Optionally,
Set ".gitignore" to prevent compile/build/IDE artifacts being
stored needlessly in version control.
For reference: This repo uses a .gitignore file based on this
StackOverflow post.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Android Studio built-in samples okay but imports don't work John Doe <always.look@message.header> - 2014-10-16 01:46 +0000
Re: Android Studio built-in samples okay but imports don't work John Doe <always.look@message.header> - 2014-10-16 15:21 +0000
Re: Android Studio built-in samples okay but imports don't work John Doe <always.look@message.header> - 2014-10-16 16:49 +0000
Re: Android Studio built-in samples okay but imports don't work John Doe <always.look@message.header> - 2014-10-21 20:23 +0000
Re: Android Studio built-in samples okay but imports don't work Joerg Meier <joergmmeier@arcor.de> - 2014-10-16 18:51 +0200
Re: Android Studio built-in samples okay but imports don't work John Doe <always.look@message.header> - 2014-10-16 17:04 +0000
Re: Android Studio built-in samples okay but imports don't work Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-10-16 22:04 +0000
Re: Android Studio built-in samples okay but imports don't work John Doe <always.look@message.header> - 2014-10-24 15:59 +0000
Re: Android Studio built-in samples okay but imports don't work Joerg Meier <joergmmeier@arcor.de> - 2014-10-24 18:20 +0200
Re: Android Studio built-in samples okay but imports don't work John Doe <always.look@message.header> - 2014-10-24 18:13 +0000
Re: Android Studio built-in samples okay but imports don't work Joerg Meier <joergmmeier@arcor.de> - 2014-10-25 10:30 +0200
Re: Android Studio built-in samples okay but imports don't work John Doe <always.look@message.header> - 2014-10-18 02:42 +0000
Re: Android Studio built-in samples okay but imports don't work John Doe <always.look@message.header> - 2014-10-21 03:17 +0000
Re: Android Studio built-in samples okay but imports don't work John Doe <always.look@message.header> - 2014-10-21 03:20 +0000
Re: Android Studio built-in samples okay but imports don't work John Doe <always.look@message.header> - 2014-10-21 20:49 +0000
Re: Android Studio built-in samples okay but imports don't work John Doe <always.look@message.header> - 2014-10-23 19:06 +0000
csiph-web