React native with android project unable to build :react-native-share
up vote
-1
down vote
favorite
FPTECHS044s-MacBook-Pro:android prabhudas$ ./gradlew build --refresh-dependencies
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring project ':react-native-share'.
Could not resolve all artifacts for configuration ':react-native-share:classpath'.
Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/lint-gradle-api-26.1.2.jar
Could not download protos.jar (com.android.tools.analytics-library:protos:26.1.2)
Could not get resource 'https://maven.google.com/com/android/tools/analytics-library/protos/26.1.2/protos-26.1.2.jar'.
Could not HEAD 'https://maven.google.com/com/android/tools/analytics-library/protos/26.1.2/protos-26.1.2.jar'. Received status code 502 from server: Bad Gateway
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.Get more help at https://help.gradle.org
BUILD FAILED in 1m 11s
repositories {
// google()
jcenter()
maven {
url 'https://dl.google.com/dl/android/maven2'
}
maven { url 'https://maven.fabric.io/public' }
}
allprojects {
repositories {
// google()
maven {
url 'https://dl.google.com/dl/android/maven2'
}
jcenter()
/*maven {
url "https://jitpack.io"
}*/
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
// url "/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/react-native/android"
url "$rootDir/../node_modules/react-native/android"
}
/*maven {
url 'https://maven.google.com'
}*/
}
}
Every time I run sudo react-native run-android
/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:90
throw err0;
^
Error: EACCES: permission denied, mkdir '/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/react-native/node_modules/.cache'
at Object.mkdirSync (fs.js:776:3)
at sync (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:71:13)
at sync (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:77:24)
at sync (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:77:24)
at save (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/@babel/register/lib/cache.js:50:20)
at internalTickCallback (internal/process/next_tick.js:70:11)
at process._tickCallback (internal/process/next_tick.js:47:5)
at Function.Module.runMain (internal/modules/cjs/loader.js:778:11)
at startup (internal/bootstrap/node.js:300:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:826:3)
Process terminated. Press <enter> to close the window
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
android react-native build.gradle
New contributor
add a comment |
up vote
-1
down vote
favorite
FPTECHS044s-MacBook-Pro:android prabhudas$ ./gradlew build --refresh-dependencies
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring project ':react-native-share'.
Could not resolve all artifacts for configuration ':react-native-share:classpath'.
Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/lint-gradle-api-26.1.2.jar
Could not download protos.jar (com.android.tools.analytics-library:protos:26.1.2)
Could not get resource 'https://maven.google.com/com/android/tools/analytics-library/protos/26.1.2/protos-26.1.2.jar'.
Could not HEAD 'https://maven.google.com/com/android/tools/analytics-library/protos/26.1.2/protos-26.1.2.jar'. Received status code 502 from server: Bad Gateway
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.Get more help at https://help.gradle.org
BUILD FAILED in 1m 11s
repositories {
// google()
jcenter()
maven {
url 'https://dl.google.com/dl/android/maven2'
}
maven { url 'https://maven.fabric.io/public' }
}
allprojects {
repositories {
// google()
maven {
url 'https://dl.google.com/dl/android/maven2'
}
jcenter()
/*maven {
url "https://jitpack.io"
}*/
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
// url "/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/react-native/android"
url "$rootDir/../node_modules/react-native/android"
}
/*maven {
url 'https://maven.google.com'
}*/
}
}
Every time I run sudo react-native run-android
/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:90
throw err0;
^
Error: EACCES: permission denied, mkdir '/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/react-native/node_modules/.cache'
at Object.mkdirSync (fs.js:776:3)
at sync (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:71:13)
at sync (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:77:24)
at sync (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:77:24)
at save (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/@babel/register/lib/cache.js:50:20)
at internalTickCallback (internal/process/next_tick.js:70:11)
at process._tickCallback (internal/process/next_tick.js:47:5)
at Function.Module.runMain (internal/modules/cjs/loader.js:778:11)
at startup (internal/bootstrap/node.js:300:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:826:3)
Process terminated. Press <enter> to close the window
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
android react-native build.gradle
New contributor
Please add some context to explain the code sections.
– Ebin Manuval
Nov 21 at 5:43
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.
– rvazquezglez
Nov 21 at 6:12
Could you please check the content now.
– Prabhudas kuppala
Nov 21 at 8:18
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
FPTECHS044s-MacBook-Pro:android prabhudas$ ./gradlew build --refresh-dependencies
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring project ':react-native-share'.
Could not resolve all artifacts for configuration ':react-native-share:classpath'.
Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/lint-gradle-api-26.1.2.jar
Could not download protos.jar (com.android.tools.analytics-library:protos:26.1.2)
Could not get resource 'https://maven.google.com/com/android/tools/analytics-library/protos/26.1.2/protos-26.1.2.jar'.
Could not HEAD 'https://maven.google.com/com/android/tools/analytics-library/protos/26.1.2/protos-26.1.2.jar'. Received status code 502 from server: Bad Gateway
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.Get more help at https://help.gradle.org
BUILD FAILED in 1m 11s
repositories {
// google()
jcenter()
maven {
url 'https://dl.google.com/dl/android/maven2'
}
maven { url 'https://maven.fabric.io/public' }
}
allprojects {
repositories {
// google()
maven {
url 'https://dl.google.com/dl/android/maven2'
}
jcenter()
/*maven {
url "https://jitpack.io"
}*/
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
// url "/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/react-native/android"
url "$rootDir/../node_modules/react-native/android"
}
/*maven {
url 'https://maven.google.com'
}*/
}
}
Every time I run sudo react-native run-android
/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:90
throw err0;
^
Error: EACCES: permission denied, mkdir '/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/react-native/node_modules/.cache'
at Object.mkdirSync (fs.js:776:3)
at sync (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:71:13)
at sync (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:77:24)
at sync (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:77:24)
at save (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/@babel/register/lib/cache.js:50:20)
at internalTickCallback (internal/process/next_tick.js:70:11)
at process._tickCallback (internal/process/next_tick.js:47:5)
at Function.Module.runMain (internal/modules/cjs/loader.js:778:11)
at startup (internal/bootstrap/node.js:300:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:826:3)
Process terminated. Press <enter> to close the window
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
android react-native build.gradle
New contributor
FPTECHS044s-MacBook-Pro:android prabhudas$ ./gradlew build --refresh-dependencies
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring project ':react-native-share'.
Could not resolve all artifacts for configuration ':react-native-share:classpath'.
Could not find lint-gradle-api.jar (com.android.tools.lint:lint-gradle-api:26.1.2).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/lint/lint-gradle-api/26.1.2/lint-gradle-api-26.1.2.jar
Could not download protos.jar (com.android.tools.analytics-library:protos:26.1.2)
Could not get resource 'https://maven.google.com/com/android/tools/analytics-library/protos/26.1.2/protos-26.1.2.jar'.
Could not HEAD 'https://maven.google.com/com/android/tools/analytics-library/protos/26.1.2/protos-26.1.2.jar'. Received status code 502 from server: Bad Gateway
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.Get more help at https://help.gradle.org
BUILD FAILED in 1m 11s
repositories {
// google()
jcenter()
maven {
url 'https://dl.google.com/dl/android/maven2'
}
maven { url 'https://maven.fabric.io/public' }
}
allprojects {
repositories {
// google()
maven {
url 'https://dl.google.com/dl/android/maven2'
}
jcenter()
/*maven {
url "https://jitpack.io"
}*/
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
// url "/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/react-native/android"
url "$rootDir/../node_modules/react-native/android"
}
/*maven {
url 'https://maven.google.com'
}*/
}
}
Every time I run sudo react-native run-android
/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:90
throw err0;
^
Error: EACCES: permission denied, mkdir '/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/react-native/node_modules/.cache'
at Object.mkdirSync (fs.js:776:3)
at sync (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:71:13)
at sync (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:77:24)
at sync (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:77:24)
at save (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/@babel/register/lib/cache.js:50:20)
at internalTickCallback (internal/process/next_tick.js:70:11)
at process._tickCallback (internal/process/next_tick.js:47:5)
at Function.Module.runMain (internal/modules/cjs/loader.js:778:11)
at startup (internal/bootstrap/node.js:300:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:826:3)
Process terminated. Press <enter> to close the window
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
repositories {
// google()
jcenter()
maven {
url 'https://dl.google.com/dl/android/maven2'
}
maven { url 'https://maven.fabric.io/public' }
}
allprojects {
repositories {
// google()
maven {
url 'https://dl.google.com/dl/android/maven2'
}
jcenter()
/*maven {
url "https://jitpack.io"
}*/
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
// url "/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/react-native/android"
url "$rootDir/../node_modules/react-native/android"
}
/*maven {
url 'https://maven.google.com'
}*/
}
}
repositories {
// google()
jcenter()
maven {
url 'https://dl.google.com/dl/android/maven2'
}
maven { url 'https://maven.fabric.io/public' }
}
allprojects {
repositories {
// google()
maven {
url 'https://dl.google.com/dl/android/maven2'
}
jcenter()
/*maven {
url "https://jitpack.io"
}*/
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
// url "/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/react-native/android"
url "$rootDir/../node_modules/react-native/android"
}
/*maven {
url 'https://maven.google.com'
}*/
}
}
/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:90
throw err0;
^
Error: EACCES: permission denied, mkdir '/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/react-native/node_modules/.cache'
at Object.mkdirSync (fs.js:776:3)
at sync (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:71:13)
at sync (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:77:24)
at sync (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:77:24)
at save (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/@babel/register/lib/cache.js:50:20)
at internalTickCallback (internal/process/next_tick.js:70:11)
at process._tickCallback (internal/process/next_tick.js:47:5)
at Function.Module.runMain (internal/modules/cjs/loader.js:778:11)
at startup (internal/bootstrap/node.js:300:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:826:3)
Process terminated. Press <enter> to close the window
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:90
throw err0;
^
Error: EACCES: permission denied, mkdir '/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/react-native/node_modules/.cache'
at Object.mkdirSync (fs.js:776:3)
at sync (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:71:13)
at sync (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:77:24)
at sync (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/mkdirp/index.js:77:24)
at save (/Users/prabhudas/StudioProjects/TilaWithReactJS/node_modules/@babel/register/lib/cache.js:50:20)
at internalTickCallback (internal/process/next_tick.js:70:11)
at process._tickCallback (internal/process/next_tick.js:47:5)
at Function.Module.runMain (internal/modules/cjs/loader.js:778:11)
at startup (internal/bootstrap/node.js:300:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:826:3)
Process terminated. Press <enter> to close the window
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
android react-native build.gradle
android react-native build.gradle
New contributor
New contributor
edited Nov 21 at 7:51
New contributor
asked Nov 21 at 5:32
Prabhudas kuppala
83
83
New contributor
New contributor
Please add some context to explain the code sections.
– Ebin Manuval
Nov 21 at 5:43
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.
– rvazquezglez
Nov 21 at 6:12
Could you please check the content now.
– Prabhudas kuppala
Nov 21 at 8:18
add a comment |
Please add some context to explain the code sections.
– Ebin Manuval
Nov 21 at 5:43
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.
– rvazquezglez
Nov 21 at 6:12
Could you please check the content now.
– Prabhudas kuppala
Nov 21 at 8:18
Please add some context to explain the code sections.
– Ebin Manuval
Nov 21 at 5:43
Please add some context to explain the code sections.
– Ebin Manuval
Nov 21 at 5:43
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.
– rvazquezglez
Nov 21 at 6:12
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.
– rvazquezglez
Nov 21 at 6:12
Could you please check the content now.
– Prabhudas kuppala
Nov 21 at 8:18
Could you please check the content now.
– Prabhudas kuppala
Nov 21 at 8:18
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
Do this Commands May Help You (Try it!) :
Step 1: npm uninstall react-native-share --save-dev
Step 2: npm install --save react-native-share
Step 3: npm link
Step 4: npm link react-native-share
Step 5: Killall node -9
Step 6: react-native run-android
New contributor
those it work ?
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
you just need to link your project
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
tell me when you done it
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
good luck my friend
– MoHammaD ReZa DehGhani
Nov 21 at 6:17
> Task:react-native-share:compileDebugJavaWithJavacFAILED node_modules/react-native-share/android/src/main/java/cl/json/ShareFiles.java:8: error: package android.support.v4.content does not exist import android.support.v4.content.FileProvider; ^ /android/src/main/java/cl/json/ShareFile.java:10: error: package android.support.v4.content does not exist import android.support.v4.content.FileProvider; ^ android.support.annotation does not exist import android.support.annotation.Nullable; ^
– Prabhudas kuppala
Nov 21 at 7:00
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
Do this Commands May Help You (Try it!) :
Step 1: npm uninstall react-native-share --save-dev
Step 2: npm install --save react-native-share
Step 3: npm link
Step 4: npm link react-native-share
Step 5: Killall node -9
Step 6: react-native run-android
New contributor
those it work ?
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
you just need to link your project
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
tell me when you done it
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
good luck my friend
– MoHammaD ReZa DehGhani
Nov 21 at 6:17
> Task:react-native-share:compileDebugJavaWithJavacFAILED node_modules/react-native-share/android/src/main/java/cl/json/ShareFiles.java:8: error: package android.support.v4.content does not exist import android.support.v4.content.FileProvider; ^ /android/src/main/java/cl/json/ShareFile.java:10: error: package android.support.v4.content does not exist import android.support.v4.content.FileProvider; ^ android.support.annotation does not exist import android.support.annotation.Nullable; ^
– Prabhudas kuppala
Nov 21 at 7:00
add a comment |
up vote
0
down vote
accepted
Do this Commands May Help You (Try it!) :
Step 1: npm uninstall react-native-share --save-dev
Step 2: npm install --save react-native-share
Step 3: npm link
Step 4: npm link react-native-share
Step 5: Killall node -9
Step 6: react-native run-android
New contributor
those it work ?
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
you just need to link your project
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
tell me when you done it
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
good luck my friend
– MoHammaD ReZa DehGhani
Nov 21 at 6:17
> Task:react-native-share:compileDebugJavaWithJavacFAILED node_modules/react-native-share/android/src/main/java/cl/json/ShareFiles.java:8: error: package android.support.v4.content does not exist import android.support.v4.content.FileProvider; ^ /android/src/main/java/cl/json/ShareFile.java:10: error: package android.support.v4.content does not exist import android.support.v4.content.FileProvider; ^ android.support.annotation does not exist import android.support.annotation.Nullable; ^
– Prabhudas kuppala
Nov 21 at 7:00
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
Do this Commands May Help You (Try it!) :
Step 1: npm uninstall react-native-share --save-dev
Step 2: npm install --save react-native-share
Step 3: npm link
Step 4: npm link react-native-share
Step 5: Killall node -9
Step 6: react-native run-android
New contributor
Do this Commands May Help You (Try it!) :
Step 1: npm uninstall react-native-share --save-dev
Step 2: npm install --save react-native-share
Step 3: npm link
Step 4: npm link react-native-share
Step 5: Killall node -9
Step 6: react-native run-android
New contributor
New contributor
answered Nov 21 at 5:50
MoHammaD ReZa DehGhani
389
389
New contributor
New contributor
those it work ?
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
you just need to link your project
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
tell me when you done it
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
good luck my friend
– MoHammaD ReZa DehGhani
Nov 21 at 6:17
> Task:react-native-share:compileDebugJavaWithJavacFAILED node_modules/react-native-share/android/src/main/java/cl/json/ShareFiles.java:8: error: package android.support.v4.content does not exist import android.support.v4.content.FileProvider; ^ /android/src/main/java/cl/json/ShareFile.java:10: error: package android.support.v4.content does not exist import android.support.v4.content.FileProvider; ^ android.support.annotation does not exist import android.support.annotation.Nullable; ^
– Prabhudas kuppala
Nov 21 at 7:00
add a comment |
those it work ?
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
you just need to link your project
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
tell me when you done it
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
good luck my friend
– MoHammaD ReZa DehGhani
Nov 21 at 6:17
> Task:react-native-share:compileDebugJavaWithJavacFAILED node_modules/react-native-share/android/src/main/java/cl/json/ShareFiles.java:8: error: package android.support.v4.content does not exist import android.support.v4.content.FileProvider; ^ /android/src/main/java/cl/json/ShareFile.java:10: error: package android.support.v4.content does not exist import android.support.v4.content.FileProvider; ^ android.support.annotation does not exist import android.support.annotation.Nullable; ^
– Prabhudas kuppala
Nov 21 at 7:00
those it work ?
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
those it work ?
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
you just need to link your project
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
you just need to link your project
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
tell me when you done it
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
tell me when you done it
– MoHammaD ReZa DehGhani
Nov 21 at 6:16
good luck my friend
– MoHammaD ReZa DehGhani
Nov 21 at 6:17
good luck my friend
– MoHammaD ReZa DehGhani
Nov 21 at 6:17
> Task:react-native-share:compileDebugJavaWithJavacFAILED node_modules/react-native-share/android/src/main/java/cl/json/ShareFiles.java:8: error: package android.support.v4.content does not exist import android.support.v4.content.FileProvider; ^ /android/src/main/java/cl/json/ShareFile.java:10: error: package android.support.v4.content does not exist import android.support.v4.content.FileProvider; ^ android.support.annotation does not exist import android.support.annotation.Nullable; ^
– Prabhudas kuppala
Nov 21 at 7:00
> Task:react-native-share:compileDebugJavaWithJavacFAILED node_modules/react-native-share/android/src/main/java/cl/json/ShareFiles.java:8: error: package android.support.v4.content does not exist import android.support.v4.content.FileProvider; ^ /android/src/main/java/cl/json/ShareFile.java:10: error: package android.support.v4.content does not exist import android.support.v4.content.FileProvider; ^ android.support.annotation does not exist import android.support.annotation.Nullable; ^
– Prabhudas kuppala
Nov 21 at 7:00
add a comment |
Prabhudas kuppala is a new contributor. Be nice, and check out our Code of Conduct.
Prabhudas kuppala is a new contributor. Be nice, and check out our Code of Conduct.
Prabhudas kuppala is a new contributor. Be nice, and check out our Code of Conduct.
Prabhudas kuppala is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53405777%2freact-native-with-android-project-unable-to-build-react-native-share%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Please add some context to explain the code sections.
– Ebin Manuval
Nov 21 at 5:43
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.
– rvazquezglez
Nov 21 at 6:12
Could you please check the content now.
– Prabhudas kuppala
Nov 21 at 8:18