Git Product home page Git Product logo

Comments (4)

CNG avatar CNG commented on September 26, 2024

@Manouchehri's workaround no longer works due to Homebrew/homebrew-core#11468:

➜  /tmp brew info android-ndk
Error: No available formula with the name "android-ndk"
It was migrated from homebrew/core to caskroom/cask/android-sdk.
You can access it again by running:
  brew tap caskroom/cask
➜  /tmp brew cask info android-ndk
Error: No available Cask for android-ndk

New workaround

Install android-ndk after android-sdk using sdkmanager:

brew cask install android-sdk
sdkmanager android-ndk "platforms;android-19"

You also need these:

brew tap homebrew/dupes
brew install make python3

Then install fb-adb like this:

cd /tmp
git clone https://github.com/facebook/fb-adb.git
cd fb-adb
./autogen.sh
export ANDROID_SDK=/usr/local/share/android-sdk
export ANDROID_NDK=$ANDROID_SDK/ndk-bundle
mkdir build
cd build
../configure
/usr/local/bin/gmake
sudo cp -a fb-adb /usr/bin
rm -rf /tmp/fb-adb

from fb-adb.

andrewleo avatar andrewleo commented on September 26, 2024

wonderful!
I follow the steps, and build fb-adb on my mbp, much thanks!

from fb-adb.

marchaase avatar marchaase commented on September 26, 2024

for workaround I needed to change:
sdkmanager android-ndk "platforms;android-19"
to
sdkmanager ndk-bundle "platforms;android-19"

from fb-adb.

andrew-donnell avatar andrew-donnell commented on September 26, 2024

This does not work for me now. Any updates?

from fb-adb.

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.