Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APK build failed on CentOS #3

Closed
ihacku opened this issue Aug 19, 2015 · 5 comments
Closed

APK build failed on CentOS #3

ihacku opened this issue Aug 19, 2015 · 5 comments
Assignees
Labels
enhancement A feature request.

Comments

@ihacku
Copy link

ihacku commented Aug 19, 2015

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':app'.

    failed to find target android-21 : /root/qark/android-sdk_r24.0.2-macosx/android-sdk-macosx

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Seems like only download osx sdk caused this issue?

url = " https://dl.google.com/android/android-sdk_r24.0.2-macosx.zip"

@SecBro1
Copy link

SecBro1 commented Aug 19, 2015

We only officially support QARK on OSX and Ubuntu (for now), but if the only issue you're facing is the SDK, you can simply download it manually here: https://developer.android.com/sdk/index.html#Other , then point QARK to it when prompted.

@SecBro1 SecBro1 added enhancement A feature request. and removed wontfix labels Oct 10, 2016
@SecBro1
Copy link

SecBro1 commented Oct 10, 2016

I've verified QARK install and runs on CentOS, but may require downloading and unzipping the Android SDK separately.

It does throw an error, presumably due to the Android SDK version, when trying to build the exploit APK:

  • What went wrong:
    A problem occurred configuring project ':app'.
    failed to find target android-21 : /root/qark/android-sdk_r24.3.4-linux/android-sdk-linux

@subrosaassociates
Copy link

I have this issue on Ubuntu 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

(maybe i'm possibly missing something ?)

 What went wrong:
A problem occurred configuring project ':app'.
> failed to find target android-21 : /usr/local/android-studio

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

@nwalsh-lnk
Copy link
Contributor

We have just pushed a new version of QARK that solves a lot of problems and enhances the code.

As a result we will be closing out all tickets for the older version since we no longer support it. If this issue persists in the new version please create a new ticket.

@joaociocca
Copy link

I've encountered the same error, running on Ubuntu 20.04:

FAILURE: Build failed with an exception.                                                                                                                                                                                     
                                                                                                                                                                                                                             
* What went wrong:                                                                                                                                                                                                           
A problem occurred configuring project ':app'.                                                                                                                                                                               
> failed to find target android-21 : /opt/androidsdk                                                                                                                                                                         
                                                                                                                                                                                                                             
* Try:                                                                                                                                                                                                                       
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.                                                                                                               
                                                                                                                                                                                                                             
BUILD FAILED  

But when I check...

$  which sdkmanager 
/opt/androidsdk/tools/bin/sdkmanager
$ sdkmanager --list | grep android-21
  platforms;android-21                                                                     | 2            | Android SDK Platform 21                                             
  sources;android-21                                                                       | 1            | Sources for Android 21                                              
  system-images;android-21;android-tv;armeabi-v7a                                          | 3            | Android TV ARM EABI v7a System Image                                
  system-images;android-21;android-tv;x86                                                  | 3            | Android TV Intel x86 Atom System Image                              
  system-images;android-21;default;armeabi-v7a                                             | 4            | ARM EABI v7a System Image                                           
  system-images;android-21;default;x86                                                     | 5            | Intel x86 Atom System Image                                         
  system-images;android-21;default;x86_64                                                  | 5            | Intel x86 Atom_64 System Image                                      
  system-images;android-21;google_apis;armeabi-v7a                                         | 32           | Google APIs ARM EABI v7a System Image                               
  system-images;android-21;google_apis;x86                                                 | 32           | Google APIs Intel x86 Atom System Image                             
  system-images;android-21;google_apis;x86_64                                              | 32           | Google APIs Intel x86 Atom_64 System Image 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature request.
Projects
None yet
Development

No branches or pull requests

6 participants