Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #30138

Re: Android Studio built-in samples okay but imports don't work

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 2014-10-21 03:17 +0000
Organization A noiseless patient Spider
Message-ID <m24j8e$t48$1@dont-email.me> (permalink)
References <m1n82d$ddl$1@dont-email.me>

Show all headers | View raw


The DeskClock runs with zero errors using version (android-4.1.1_r6.1). 
Don't know why so many errors are produced with newer versions. Maybe 
it's an Android Studio beta problem. I have downloaded everything in 
the Android SDK Manager.

The source code is from here...

https://android.googlesource.com/platform/packages/apps/DeskClock/+refs

The method for testing the different versions, in Windows...

Move to your projects folder

Right-click on your projects folder > Git Bash

git clone https://android.googlesource.com/platform/packages/apps/DeskClock/

cd DeskClock/

Now start the process of testing revisions...

git checkout tags/<revision>, for example...

git checkout tags/android-cts-2.3_r12

Open Android Studio (forthe first time) and import the DeskClock project 
(will be done repeatedly). It will produce a different project for the 
new revision if all goes well.

Rebuild the project

Note the errors, close the project, no need to close Android Studio

If no joy, try repeating the process starting with (git checkout) 
above using a different version

Other versions might run, for example (android-cts-2.3_r12).

Looks like there might be a bunch of ready to go clock source code 
to play with.

Now give me some hacking room! 

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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