Coder Social home page Coder Social logo

android-ndk-toolchain-setup's People

Contributors

dependabot-preview[bot] avatar hannesa2 avatar ravinderjangra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-ndk-toolchain-setup's Issues

action not found

I tried your action with

name: CI Android

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - name: set up JDK 1.8
        uses: actions/setup-java@v1
        with:
          java-version: 1.8
      - name: NDK
        uses: actions/[email protected]
        with:
          api: '21'
          arch: 'x86'
          install-location: 'toolchains'
          force: true
      - name: Build with Gradle
        run: ./gradlew build

But I run into https://github.com/marianmoldovan/panoramagl/runs/477801639

image

Do you have any clue, what I did wrong ?

api: '21' what does it mean ?

Sorry, I didn't looked into the code, when I specify

with: 
    api: '21'

does it mean I specify NDK version in build.gradle like

android {
   ...
   ndkVersion '21.0.6113669'
}

and can use NDK 21.0.6113669 ?

Or is it the Emulator version ? (I guess not)

Btw, the README.md is a little bit rudimentary and wrong

Make it work in macOS

'/usr/local/lib/android/sdk/ndk-bundle/build/tools/make_standalone_toolchain.py'

On macOS I found it here. But there can be more then one !

# find . -name make*.py
./sdk/ndk/21.0.6113669/build/tools/make_standalone_toolchain.py

I've no skills in Python, so I don't know how to make it work in Python.
In shell I would to

$(find $ANDROID_HOME/build-tools -name make_standalone_toolchain.py | sort | tail -1)
(= Search for all available, sort by most recent and take first)

Action not found

I am attempting to try this action to setup NDK as follows:

    - name: Install Android NDK Toolchain
      uses: actions/[email protected]
      if: runner.os == 'Linux'
      with: 
        arch: 'x86'
        install-location: 'toolchains'

This results in error:

##[warning]Failed to download action 'https://api.github.com/repos/actions/android-ndk-toolchain-setup/tarball/v0.1'. Error Response status code does not indicate success: 404 (Not Found).
##[warning]Back off 12.498 seconds before retry.
##[warning]Failed to download action 'https://api.github.com/repos/actions/android-ndk-toolchain-setup/tarball/v0.1'. Error Response status code does not indicate success: 404 (Not Found).
##[warning]Back off 28.368 seconds before retry.
##[error]Response status code does not indicate success: 404 (Not Found).

As suggested in #1 I tried using uses: ravinderjangra/[email protected], but it gave the same error. I noticed this is also being used in your workflow.

Can you please clarify?

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.