小编张东生*_*张东生的帖子

react-native run-android找不到com.android.tools.build:gradle:3.0.1

apple@mosesdeMacBook-Pro:~/Desktop/sxtbdemo2$ react-native run-android
Scanning folders for symlinks in /Users/apple/Desktop/sxtbdemo2/node_modules (8ms)
JS server already running.
Building and installing the app on the device (cd android && ./gradlew installDebug)...

FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring root project 'sxtbdemo2'.
Could not resolve all files for configuration ':classpath'.
Could not find com.android.tools.build:gradle:3.0.1.
 Searched in the following locations:
     https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.pom
     https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.jar
 Required by:
     project :

 Try:
     Run with --stacktrace option to get the stack trace. Run with --info or …
Run Code Online (Sandbox Code Playgroud)

android react-native

32
推荐指数
2
解决办法
1万
查看次数

react-native iOS签名导出ipa文件错误:由于格式不正确,无法读取数据。xcode9,错误日志:

xcode9标志,导出ipa文件错误:由于数据格式不正确而无法读取,由于数据格式不正确而无法读取,为什么?错误日志:IDEDistribution.standard.log:

2018-02-09 01:53:02 +0000 [MT] Beginning distribution assistant for archive: wepilotrelase, task: Export
    2018-02-09 01:53:04 +0000 [MT] Proceeding to distribution step IDEDistributionAnalyzeArchiveStepViewController, context: <IDEDistributionContext: 0x7fccfb2d7de0; archive(resolved)='<IDEArchive: 0x7fcd15b15e90>', distributionTask(resolved)='2', distributionMethod(resolved)='<IDEDistributionMethodAdHoc: 0x7fcd0c7aa3a0>', team(resolved)='(null)'>
        Chain (3, self inclusive):
        <IDEDistributionContext: 0x7fccfb2d7de0; archive = '<IDEArchive: 0x7fcd15b15e90>', distributionMethod='<IDEDistributionMethodAdHoc: 0x7fcd0c7aa3a0>', team='(null)'>
        <IDEDistributionContext: 0x7fcd12fe94f0; archive = '<IDEArchive: 0x7fcd15b15e90>', distributionMethod='<IDEDistributionMethodAdHoc: 0x7fcd0c7aa3a0>', team='(null)'>
        <IDEDistributionContext: 0x7fccfb62e080; archive = '<IDEArchive: 0x7fcd15b15e90>', distributionMethod='(null)', team='(null)'>
    </IDEDistributionContext: 0x7fccfb2d7de0>
    2018-02-09 01:53:04 +0000  Found team <IDEProvisioningBasicTeam 0x7fcd15aec320: teamID: 7PEH5UAQ6Q, teamName: Wepilot Inc.> in archive signature
    2018-02-09 01:53:04 …
Run Code Online (Sandbox Code Playgroud)

ios react-native xcode9

2
推荐指数
1
解决办法
471
查看次数

标签 统计

react-native ×2

android ×1

ios ×1

xcode9 ×1