Skip to content
This repository was archived by the owner on Aug 19, 2023. It is now read-only.
This repository was archived by the owner on Aug 19, 2023. It is now read-only.

How to config top level build.gradle file of chatsecure to override other libraries build.gradle? #1

@patzu

Description

@patzu

I want to increase the targetSDKversion to 24 and I have to change all the build.gradle files of libraries, then I decided to make a top level build.gradle file to override all other libraries. My problem is I receive below error
Error:Cannot read packageName from d:\ChatSecureAPI24\src\main\AndroidManifest.xml

my build.gradle file is like below:

`
// 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:2.2.2'
		}
	}
	apply plugin: 'com.android.application'

	android {
		compileSdkVersion 24
		buildToolsVersion '24.0.2'
		defaultConfig {
			minSdkVersion 9
			targetSdkVersion 24
			versionCode 1411005
			versionName "14.1.1-RC-5"
		}
		buildTypes {
			release {
				minifyEnabled false
				proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
			}
		}
		sourceSets {
		   
		}
	}

	allprojects {
		repositories {
			jcenter()
		}
	}

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions