Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i can't assemble app with model library #27

Closed
c3ph3us opened this issue Jul 12, 2015 · 1 comment
Closed

i can't assemble app with model library #27

c3ph3us opened this issue Jul 12, 2015 · 1 comment

Comments

@c3ph3us
Copy link

c3ph3us commented Jul 12, 2015

hi i can't assamble any project with model.library i get error :

Error:A problem was found with the configuration of task ':widgets:processDebugResources'.
Directory 'lib dir \build\intermediates\bundles\debug\res' specified for property 'resDir' does not exist.

pleas provide any sample for case:
app + library + native

my gradle file for library :

 apply plugin: 'com.android.model.library'

 model {

    android {
      compileSdkVersion = 22
      buildToolsVersion = "23.0.0 rc3"

      defaultConfig.with {
          applicationId = "pl.ceph3us.widgets"
          minSdkVersion.apiLevel = 11
          targetSdkVersion.apiLevel = 22
          versionCode = 1
          versionName = "lib 1.0"
      }
  }

      android.buildTypes {
      release {
          isMinifyEnabled = false
          proguardFiles += file('proguard-rules.pro')
      }

      debug {
          isDebuggable = true
          isMinifyEnabled = false
          proguardFiles += file('proguard-rules.pro')
      }
    }
  }  

  dependencies {
     compile fileTree(dir: 'libs', include: ['*.jar'])
     compile 'com.android.support:appcompat-v7:22.2.0'
   }
@c3ph3us c3ph3us changed the title i can't assemble app wiith lmodel library i can't assemble app with lodel library Jul 12, 2015
@c3ph3us c3ph3us changed the title i can't assemble app with lodel library i can't assemble app with model library Jul 12, 2015
@proppy
Copy link
Contributor

proppy commented Jul 13, 2015

The new experimental gradle plugin doesn't yet support creating standalone library, see https://code.google.com/p/android/issues/detail?id=177631

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants