2017-09-10 6 views
0

私は反応ネイティブをインストールし、新しいプロジェクトを開きます。 私はエミュレーターでネイティブランニングアンドロイドに反応します。ers

react-native run-android 

を実行しようと、あなたがいない非ASCII文字を別のディレクトリにプロジェクトを移動する必要があり、エラーから見ることができるように私はこのエラー

PS E:\Projects\React native\myapp> react-native run-android 
Scanning 574 folders for symlinks in E:\Projects\React native\myapp\node_modules (27ms) 
JS server already running. 
Building and installing the app on the device (cd android && gradlew.bat installDebug)... 

FAILURE: Build failed with an exception. 

* Where: 
Build file 'E:\⌠°σΘΘ≈ΦΘφ\⌠°σΘΘ≈ΦΘφ ≈Θ⌡\React native\myapp\android\app\build.gradle' line: 1 

* What went wrong: 
A problem occurred evaluating project ':app'. 
> Failed to apply plugin [id 'com.android.application'] 
    > Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory. See http://b.android.com/95744 for details. This warning can be disabled by adding the line 'android.overridePathCheck=true' to gradle.properties file in the project directory. 

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

BUILD FAILED 

Total time: 2.877 secs 
Could not install the app on the device, read the error above for details. 
Make sure you have an Android emulator running or a device connected and have 
set up your Android development environment: 
https://facebook.github.io/react-native/docs/android-setup.html 

答えて

0

を取得します。

プロジェクトのパスにASCII以外の文字が含まれています。これはほとんどの場合 がWindowsでビルドに失敗する原因になります。プロジェクト を別のディレクトリに移動してください。詳細については、http://b.android.com/95744を参照してください。

関連する問題