Giter VIP home page Giter VIP logo

Comments (3)

xudafeng avatar xudafeng commented on July 19, 2024

@oatsuper

try npm i macaca-android -g, and show me the logs.

During the installing, there are compling happen with your Android SDK, please use current edition.

android-19 to android-23 is is recommended.

from macaca.

oatsuper avatar oatsuper commented on July 19, 2024

@xudafeng Thanks for your reply~
See the below log as you want:
samplemacaca npm i macaca-android -g
npm WARN deprecated [email protected]: use cross-spawn or cross-spawn-async instead.

[email protected] install /usr/local/lib/node_modules/macaca-android/node_modules/unlock-apk
node ./script/build.js

JAVA_HOME is set to /Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home
Buildfile: /usr/local/lib/node_modules/macaca-android/node_modules/unlock-apk/build.xml

-set-mode-check:

-set-debug-files:

-check-env:

[checkenv] Android SDK Tools Revision 24.3.3

[checkenv] Installed at /Users/yanyan/Install/android-sdk-macosx

-setup:

 [echo] Project Name: unlock_apk

[gettype] Project Type: Application

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:

[getbuildtools] Using latest Build Tools: 23.0.0 rc3

 [echo] Resolving Build Target for unlock_apk...

[gettarget] Project Target: Android M (Preview)

[gettarget] API level: MNC

BUILD FAILED
/Users/yanyan/Install/android-sdk-macosx/tools/ant/build.xml:538: For 'MNC' SDK Preview, attribute minSdkVersion in AndroidManifest.xml must be 'MNC' (current: )

Total time: 0 seconds

/usr/local/lib/node_modules/macaca-android/node_modules/ant-build/lib/ant-build.js:102
throw 'build failed';
^
build failed
/usr/local/lib
└── (empty)

from macaca.

xudafeng avatar xudafeng commented on July 19, 2024

@oatsuper remove SDK MNC, this problem can be solved.

from macaca.

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.