Navigation

    论坛 - React Native中文社区

    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Search
    1. Home
    2. lyf1923811803
    L
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    lyf1923811803

    @lyf1923811803

    0
    Reputation
    3
    Posts
    619
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    lyf1923811803 Follow

    Best posts made by lyf1923811803

    This user hasn't posted anything yet.

    Latest posts made by lyf1923811803

    • use react-native-image-crop-picker but react-native run-android error:NDK is missing a "platforms" directory. thanks

      Configure project :app
      NDK is missing a "platforms" directory.
      If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/lvyongfei/Library/Android/sdk/ndk-bundle.
      If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
      Configure project :react-native-image-crop-picker
      NDK is missing a "platforms" directory.
      If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/lvyongfei/Library/Android/sdk/ndk-bundle.
      If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
      The CompileOptions.bootClasspath property has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the CompileOptions.bootstrapClasspath property instead.
      The setTestClassesDir(File) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the setTestClassesDirs(FileCollection) method instead.
      The getTestClassesDir() method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the getTestClassesDirs() method instead.
      The ConfigurableReport.setDestination(Object) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the method ConfigurableReport.setDestination(File) instead.

      Configure project :react-native-picker
      NDK is missing a "platforms" directory.
      If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/lvyongfei/Library/Android/sdk/ndk-bundle.
      If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
      Configure project :app
      File /Users/lvyongfei/.android/repositories.cfg could not be loaded.
      FAILURE: Build failed with an exception.

      What went wrong:
      A problem occurred configuring project ':app'.
      Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
      Could not resolve project :react-native-image-picker.
      Required by:
      project :app

      Project :app declares a dependency from configuration '_debugApkCopy' to configuration 'default' which is not declared in the descriptor for project :react-native-image-picker.
      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 19s
      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

      posted in 求助专区
      L
      lyf1923811803
    • 求助功,有哪位有登陆注册页,最好带有小图标和验证码的,没有也没有关系,谢谢!!!

      我刚刚学学RN,希望做一个小项目,一般都会先做登陆注册页,所以我想参考您的,非常感谢您的帮助!

      posted in 求助专区
      L
      lyf1923811803
    • RE: 分享一个用ReactNative写的仿微信客户端的APP(带截图)

      你好!注释掉下面4行代码:
      storeFile file(MYAPP_RELEASE_STORE_FILE)
      storePassword MYAPP_RELEASE_STORE_PASSWORD
      keyAlias MYAPP_RELEASE_KEY_ALIAS
      keyPassword MYAPP_RELEASE_KEY_PASSWORD

      还是会报错:
      Starting JS server...
      Building and installing the app on the device (cd android && ./gradlew installDebug)...
      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

      是什么地方的问题呢,谢谢!

      posted in 分享
      L
      lyf1923811803