Git Product home page Git Product logo

Comments (10)

sockeqwe avatar sockeqwe commented on May 25, 2024

Hi,
the reason i use 1.2.0-beta1 is for better support for unit testing, because of 1.2.0 the generated R.java is shared with plain old unit testing (folder test and not androidTest).

However, you can simply use 1.1.3 as lang as you don't run the unit test (some unit test features that require 1.2 I have not pushed to master yet).

By the way: I'm also using Android Studio Android Studio 1.2 RC 3 and 1.2.0-beta1 without facing any kind of problems.

Are you sure that your issue is not related to #10

from mosby.

IgorGanapolsky avatar IgorGanapolsky commented on May 25, 2024

I don't think it's the same issue, because I am not seeing explicit errors. In my case, the green play button never gets enabled because the modules aren't built into android applications.

from mosby.

sockeqwe avatar sockeqwe commented on May 25, 2024

Hm, really strange ...
Now I'm facing the problem that I can only build the samples by enabling Android Instrumentation Tests in Android Studio and not Unit Tests. I'm afraid, but I will have to update to android gradle plugin 1.2.0-beta1 with one of my next commits. Could you once more try to pull the latest master branch and to switch to 1.2.0-beta1? Can you build mosby from commandline with ./gradlew clean assemble? Are you using gradlewrapper or maybe an older version of gradle that may cause the problem?

from mosby.

sockeqwe avatar sockeqwe commented on May 25, 2024

Oh I think you have to enable unit test in android studio:
http://tools.android.com/tech-docs/unit-testing-support

Enable the unit testing feature in Settings > Gradle > Experimental.

I guess that is the problem you face with 1.2.0-beta1

from mosby.

IgorGanapolsky avatar IgorGanapolsky commented on May 25, 2024

I do not see unit testing feature in Settings > Gradle > Experimental

from mosby.

sockeqwe avatar sockeqwe commented on May 25, 2024

Me neither. The site is refering to android studio 1.1 which is based on intellij 13 . I guess things has changed in android studio 1.2 (based on intellij 14) or removed completely. I can't find this option anymore. Nevermind ...

from mosby.

IgorGanapolsky avatar IgorGanapolsky commented on May 25, 2024

I am now seeing this error in Android Studio gradle message at the bottom:

A newer version of com.android.tools.build:gradle than 1.2.0-beta1 is available: 1.2.0

from mosby.

IgorGanapolsky avatar IgorGanapolsky commented on May 25, 2024

Did a pull request for 1.2.0, works now!

from mosby.

sockeqwe avatar sockeqwe commented on May 25, 2024

Hm, now it's my android studio that mark any dependency to support v4 as unknown. However, pressing the play button can compile and run the whole things expected ... Come on google ... what's going on ...

from mosby.

IgorGanapolsky avatar IgorGanapolsky commented on May 25, 2024

Do you even need support v4? Maybe you can just get away with v7 😉

from mosby.

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.