Git Product home page Git Product logo

Comments (9)

kurt-o-sys avatar kurt-o-sys commented on May 31, 2024 4

OK, reinstalling android sdk seems to solve the issue... (although there's another problem now :p)

from tipsi-stripe.

kurt-o-sys avatar kurt-o-sys commented on May 31, 2024 1

and android/build.gradle:

$ cat android/build.gradle 
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.5.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        // Add jitpack repository (added by tipsi-stripe)
        maven { url "https://jitpack.io" }
        mavenLocal()
        jcenter()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }
    }
}

from tipsi-stripe.

itsmepetrov avatar itsmepetrov commented on May 31, 2024

@paynd please take a look

from tipsi-stripe.

paynd avatar paynd commented on May 31, 2024

Hi @Qsys , are you sure that your android buildtools (25.0.0) installed properly? I've tried to reproduce this case, its looks like you got an issue with buildtools. What buildtools version is in your build.gradle?

from tipsi-stripe.

kurt-o-sys avatar kurt-o-sys commented on May 31, 2024

screenshot from 2017-05-17 18-34-54

android buildtools 25.0.0 seems to be installed.

I did change the buildtools version in build.gradle before, didn't work out fine. I'll try again later.

from tipsi-stripe.

kurt-o-sys avatar kurt-o-sys commented on May 31, 2024

same with:

$ cat android/app/build.gradle 
apply plugin: "com.android.application"

import com.android.build.OutputFile

/**
< ... >
 */

apply from: "../../node_modules/react-native/react.gradle"

/**
 < ... >
 */
def enableSeparateBuildPerCPUArchitecture = false

/**
 * Run Proguard to shrink the Java bytecode in release builds.
 */
def enableProguardInReleaseBuilds = false

android {
    compileSdkVersion 23
    buildToolsVersion "25.0.0"

    defaultConfig {
        applicationId < app-id >
        minSdkVersion 16
        targetSdkVersion 22
        versionCode 1
        versionName "1.0"
       < ... >
    }
    < ... >
}

dependencies {
    compile project(':tipsi-stripe')
   < ... >
}

// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
  from configurations.compile
  into 'libs'
}

from tipsi-stripe.

kurt-o-sys avatar kurt-o-sys commented on May 31, 2024

same error when changing compileSdkVersion to 25:

$ cat android/app/build.gradle 

< ... >

android {
    compileSdkVersion 25
    buildToolsVersion "25.0.0"
   
    < ... >
}
< ... >

from tipsi-stripe.

kurt-o-sys avatar kurt-o-sys commented on May 31, 2024

And same error when I set compile "com.android.support:appcompat-v7:25.0.1" (instead of 23.0.1) in dependencies of build.gradle

from tipsi-stripe.

paynd avatar paynd commented on May 31, 2024

I'm glad that it helped!

from tipsi-stripe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.