Giter Club home page Giter Club logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
>Unable to resolve target 'android-15'

You need to download, using the SDK manager, system image for Android 4.0.3 
(API 15): http://developer.android.com/tools/help/sdk-manager.html

Original comment by [email protected] on 29 Dec 2012 at 7:10

from android-python27.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
You need also to:

- Java Compler->Building->Build path problems - set Incomplete build path: to 
Warning
- And Project->Clean

Original comment by [email protected] on 29 Dec 2012 at 7:12

from android-python27.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
[deleted comment]

from android-python27.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
My response to Anthony's comments 1&2
Anthony's comment-1
"""Comment 1 by project member [email protected], Today (20 minutes ago) 
>Unable to resolve target 'android-15'
You need to download, using the SDK manager, system image for Android 4.0.3 
(API 15): http://developer.android.com/tools/help/sdk-manager.html
"""      
1. Opened adt-elcipse with C:\Documents and Settings\joe\workspace-adt-01 [This 
is an empty workspace.]
2. Window->"Android SDK Manager"
    2.1 in "Android SDK Manager" dialog
        - i checked [x] Android 4.0.3 (API 15)
        - Show: [x]Updates Now  [x]Installed  [ ]Obsolete
        - Sort by (x) API Level ( )  ( )Repository
    2.2 click Install 8 packages
    2.3 in choose packages to install dialog
        - 8 packages appear with '?' in front of them
        - i click (x)Accept all
        - i click Install
        - i pack a lunch as downloading proceeds :)
        RESULT:
            Done loading packages.
            All Packages say "Installed" next to them
    2.4 i close "Android SDK Manager" dialog
3. In response to anthony comment-2 
"""You need also to:
- Java Compler->Building->Build path problems - set Incomplete build path: to 
Warning
- And Project->Clean"""
    3.1 I Right click on the PythonAPK project and select Build Path->Configure Build Path, 
    3.2 then [in left panel] under Java Compiler->Building i leave as is, previously checked by me, [x] Enable Project Specific Settings is checked. 
    3.3 Under Build Path Problems i leave as is, previously changed by me, "Incomplete build path" == Warning. 
    3.4 I click Apply then OK. [No Rebuild Project? dialogappears because the project settingswere not changed]
    3.5 I click Project->clean->"Clean all projects selected below" [x]PythonAPK is checked.
    3.6 I click Project->clean->"Clean all projects" [x]PythonAPK is checked but greyed.
    RESULT for both cleans (3.5 & 3.6):
        Problems: (Errors 100 of 765 Items) 
        [see attached file "allErrors.log"]

Thanks for the help.

Love and peace,
Joe

Original comment by [email protected] on 29 Dec 2012 at 8:29

Attachments:

from android-python27.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
On original post, under "What steps will reproduce the problem?", Item 3 should 
be:
3. Following Tutorial How to Use APK Template 

Original comment by [email protected] on 29 Dec 2012 at 8:33

from android-python27.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
Looks like android.jar is missing in your classpath

Original comment by [email protected] on 29 Dec 2012 at 9:07

from android-python27.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
Dear Anthony,

Thanks for the help. You said, "Looks like android.jar is missing in your 
classpath". Here's what i did:

1. Opened adt-elcipse with C:\Documents and Settings\joe\workspace-adt-01 [This 
is an empty workspace.]
2. In projectExplorer: r-clicked on
    Android 4.0.3->android.jar (C:\adt-bundle-windows-x86\sdk\platforms\android-15\android.jar)
        i chose Build Path->Configure Build Path
        RESULT: up comes Properties for PythonAPK dialog
            - message at top: Build path entry is missing: PythonAPK/gen
            - in left panel: Java Build Path is selected
            - on right: 
                - Libraries tab is selected
                - Android 4.0.3 is highlighted and under it
                    - Access rules: No rules defined
                    - Native library location: (none)
                    - android.jar C:\adt-bundle-windows-x86\sdk\platforms\android-15
                        - Source attachment: (none)
                        - Javadoc location: http://developer.android.com/reference/
                        - Native library location: (none)
                        - Access rules: 1 rule defined
                            Forbidden: com/android/internal/**

Anthony, it looks to me like, pardon the pun, the jar is empty.
Do you have any ideas on how to fix it? 

I'm going to go over to the Android site, 
http://code.google.com/p/android/issues. I saw a different issue over there 
(Issue 32577) that i had working with this ADT Bundle (without Python27) when i 
searched for it.   

Meanwhile, if you know how to fix this empty jar thing, please let me know. 
Maybe it will help the Android folks as well.

Thanks for all the help, Anthony.

Love and peace,
Joe

Original comment by [email protected] on 29 Dec 2012 at 11:56

from android-python27.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
Try to get android-4.0.3_r1.jar from 
http://grepcode.com/snapshot/repository.grepcode.com/java/ext/com.google.android
/android/4.0.3_r1/ , rename it to android.jar and use it in your project.

However seems smth is broken, you may want to go for a fresh Eclipse install, 
and then add the SDK + ADT.

Original comment by [email protected] on 30 Dec 2012 at 12:17

from android-python27.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 28, 2024
Dear Anthony,
Thanks BIG TIME for all the help.

Before i read your comment #8, I made one more effort to add the jar to my 
classpath. 
1. Right click on the PythonAPK project and select Build Path->Configure Build 
Path
2. Selected Libraries tab
3. Clicked "Add External Jars"
4. Navigated to C:\adt-bundle-windows-x86\sdk\platforms\android-15\
5. Selected android.jar
6. Did a rebuild      
RESULT: 
    *** No Errors *** only Warnings

I'll try to get the _r1.jar from repository as you suggest.

Thanks for all the help, Anthony.

Love and peace,
Joe

Original comment by [email protected] on 30 Dec 2012 at 12:32

from android-python27.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.