Results 1 to 18 of 18

Thread: build.bat failed on Windows using ndk-r8b + sdk 20.0.1

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Serf
    Join Date
    Aug 2012
    Posts
    2

    Default build.bat failed on Windows using ndk-r8b + sdk 20.0.1

    Hi, I use the latest version of ant, proton, sdk and ndk.
    After build.bat, I get this at the end :

    Code:
    -compile:
        [javac] C:\protonsdk\RTBareBones\android\build.xml:149: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
        [javac] Compiling 13 source files to C:\protonsdk\RTBareBones\android\bin\classes
    
    BUILD FAILED
    C:\protonsdk\RTBareBones\android\build.xml:129: The following error occurred while executing this line:
    C:\protonsdk\RTBareBones\android\build.xml:149: Reference project.libraries.jars not found.
    Then I tried to replace the "<target name="-compile" ..." part inside C:\protonsdk\RTBareBones\android\build.xml from sdk-dir\tools\ant\build.xml. Then I get this output :

    Code:
    -compile:
        [javac] Compiling 13 source files to C:\protonsdk\RTBareBones\android\bin\classes
        [javac] C:\protonsdk\RTBareBones\android\temp_final_src\com\rtsoft\rtbarebones\BillingService.java:21: error: package com.android.vending.billing does not exist
        [javac] import com.android.vending.billing.IMarketBillingService;
        [javac]                                   ^
    Any help or idea ?

    Thanks

  2. #2
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,375

    Default

    Hmm, anyone else this problem? Basically every single Android SDK update something like this happens, so I suspect it's the Android Tools 20 update that is the culprit.

    I've got some releases to handle today but I'll update my stuff later and see if I have the same problems.

    My current Android setup is:

    Android SDK Tools 19
    NDK: r8
    Ant: 1.8.3
    Seth A. Robinson
    Robinson Technologies

  3. #3
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,375

    Default

    Update: It looks like they moved the library paths in SDK tools r20, and NDK r8b has some compiler issues as well (apparently, they have some bugs in it, expecting an r8c soon...?)

    So I'd stick with platform tools 19 and NDK r8 for now if possible.

    One thing I've learned about Android, always backup your "tools" and "platform-tools" directories in the android SDK before updating, because the update deletes the old ones and don't offer a way to get them back after upgrading (?), which invariably breaks something.
    Seth A. Robinson
    Robinson Technologies

  4. #4
    Serf
    Join Date
    Aug 2012
    Posts
    2

    Default

    Could you provide a link to download the sdk-19 and ndk-r8 ?

    Thanks

  5. #5
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,375

    Default

    I don't think Google has downloads for older versions. Yeah, sucks. I mean, if you're going to break everything with a new version, they should at least keep the old versions around for download.

    I plan to update the examples when they hit NDK 8c (?), fixing a few bugs that are in 8b.
    Seth A. Robinson
    Robinson Technologies

  6. #6
    Lesser Knight
    Join Date
    Jul 2011
    Posts
    51

    Default

    older downloads are actually available, but they don't provide a link though

    Just take the link for the latest version, e.g ndk r8b: http://dl.google.com/android/ndk/and...8b-windows.zip
    and change the version number and it will download.

    Same can be done for the sdk, but r19 though is only available through the Android SDK Manager.

Similar Threads

  1. Replies: 16
    Last Post: 05-24-2012, 06:35 AM
  2. About using xml files to build windows
    By Zenol in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 04-10-2012, 12:05 PM
  3. Android build failed
    By JonyMnemonic in forum Proton SDK
    Replies: 4
    Last Post: 09-25-2011, 11:22 PM
  4. Android build failed...
    By blackMasoon in forum Proton SDK
    Replies: 6
    Last Post: 07-27-2011, 08:07 AM
  5. Latest windows build corrupted?
    By whisperstorm in forum Novashell Game Creation System
    Replies: 1
    Last Post: 03-03-2007, 12:22 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •