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

No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android #75

Closed
simonkuang opened this issue Sep 25, 2018 · 7 comments

Comments

@simonkuang
Copy link

  1. git clone project
  2. make file lib/common/config/ignoreConfig.dart
  3. flutter run lib/main.dart
  4. then, the error shows
$ flutter run lib/main.dart
Launching lib/main.dart on BLN AL10 in debug mode...
Initializing gradle...                                       0.9s
Resolving dependencies...
* Error running Gradle:
Exit code 1 from: /Volumes/RamDisk/GSYGithubAppFlutter/android/gradlew app:properties:
Starting a Gradle Daemon (subsequent builds will be faster)


FAILURE: Build failed with an exception.

* Where:
Build file '/Volumes/RamDisk/GSYGithubAppFlutter/android/build.gradle' line: 26

* What went wrong:
A problem occurred evaluating root project 'android'.
> A problem occurred configuring project ':app'.
   > No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android

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

* Get more help at https://help.gradle.org

BUILD FAILED in 5s

Please review your Gradle project setup in the android/ folder.

flutter doctor description

$ flutter doctor -v
[✓] Flutter (Channel beta, v0.8.2, on Mac OS X 10.13.6 17G65, locale zh-Hans-CN)
    • Flutter version 0.8.2 at /Users/simonkuang/workspace/flutter_development/flutter
    • Framework revision 5ab9e70727 (2 周前), 2018-09-07 12:33:05 -0700
    • Engine revision 58a1894a1c
    • Dart version 2.1.0-dev.3.1.flutter-760a9690c2

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.2)
    • Android SDK at /Users/simonkuang/Library/Android/sdk
    • Android NDK at /Users/simonkuang/Library/Android/sdk/ndk-bundle
    • Platform android-28, build-tools 28.0.2
    • ANDROID_HOME = /Users/simonkuang/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.0, Build version 10A255
    • ios-deploy 2.0.0
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 28.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] IntelliJ IDEA Community Edition (version 2018.1.5)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 25.0.2
    • Dart plugin version 181.4892.1

[✓] IntelliJ IDEA Ultimate Edition (version 2018.1.6)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 26.0.2
    • Dart plugin version 181.4892.1

[✓] VS Code
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.18.0

[✓] Connected devices (1 available)
    • BLN AL10 • CKLDU16B03008538 • android-arm64 • Android 8.0.0 (API 26)

• No issues found!
@CarGuo
Copy link
Owner

CarGuo commented Sep 25, 2018

@simonkuang
Copy link
Author

PS:
has uncomment the environment variables FLUTTER_STORAGE_BASE_URL and PUB_HOSTED_URL.

unset FLUTTER_STORAGE_BASE_URL
unset PUB_HOSTED_URL
flutter run lib/main.dart

@CarGuo
Copy link
Owner

CarGuo commented Sep 25, 2018

As shown by log, show your build.gradle of the clone project

Is build.gradle consistent with that on GitHub?

@simonkuang
Copy link
Author

As shown by log, show your build.gradle of the clone project

Is build.gradle consistent with that on GitHub?

The two files is not changed.

$ git st
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   pubspec.lock

no changes added to commit (use "git add" and/or "git commit -a")
$ git log --oneline
23feaf1 (HEAD -> master, tag: 1.1.4, origin/master, origin/HEAD) 1.1.4
8c526d0 增加android刷新图库处理
26465fc readme
...

@CarGuo
Copy link
Owner

CarGuo commented Sep 25, 2018

I don't konw the reason,because I test it work well right now in another pc

you may try follow the log

* Where:
Build file '/Volumes/RamDisk/GSYGithubAppFlutter/android/build.gradle' line: 26

@simonkuang
Copy link
Author

I don't konw the reason,because I test it work well right now in another pc

you may try follow the log

* Where:
Build file '/Volumes/RamDisk/GSYGithubAppFlutter/android/build.gradle' line: 26

thx any way.

i fellow this link ("No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android"), installed mips toolchains manually, and it works.

i used to install my android sdk with android studio, and there are not toolchains for mips/mips64.

@CarGuo
Copy link
Owner

CarGuo commented Sep 25, 2018

good job

@CarGuo CarGuo closed this as completed Sep 25, 2018
@CarGuo CarGuo mentioned this issue Nov 21, 2019
@mr-shitou mr-shitou mentioned this issue Nov 30, 2019
@theecn theecn mentioned this issue Dec 18, 2019
@byue666 byue666 mentioned this issue Dec 19, 2019
@dfaofeng dfaofeng mentioned this issue Dec 24, 2019
@alienzh alienzh mentioned this issue Dec 27, 2019
@YaoHooHoo YaoHooHoo mentioned this issue Jan 15, 2020
@w497763094 w497763094 mentioned this issue Mar 10, 2020
@JevonShi JevonShi mentioned this issue Mar 10, 2020
@HaobinXu HaobinXu mentioned this issue Mar 20, 2020
@luan823230 luan823230 mentioned this issue Mar 24, 2020
@Andy957 Andy957 mentioned this issue Apr 16, 2020
@ngu2008 ngu2008 mentioned this issue Apr 17, 2020
@hzg1105 hzg1105 mentioned this issue May 3, 2020
@MrHGJ MrHGJ mentioned this issue May 19, 2020
@hzg1105 hzg1105 mentioned this issue Jun 14, 2020
@wangkr wangkr mentioned this issue Jul 4, 2020
@gss3000 gss3000 mentioned this issue Jul 8, 2020
@zaeMyn zaeMyn mentioned this issue Aug 5, 2020
@Liway Liway mentioned this issue Jun 22, 2022
@HBLove HBLove mentioned this issue Nov 22, 2022
@jayVRIY jayVRIY mentioned this issue Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants