Skip to content

Broaden directory & file requirements in validation.#1

Open
sethgho wants to merge 1 commit intobearstouch:masterfrom
sethgho:master
Open

Broaden directory & file requirements in validation.#1
sethgho wants to merge 1 commit intobearstouch:masterfrom
sethgho:master

Conversation

@sethgho
Copy link
Copy Markdown

@sethgho sethgho commented Jan 8, 2014

With Android Studio/Gradle's project & flavor structure, a manifest file and src
directory may not necessarily exist. Running android_img_resizer in a specific flavor directory refused to resize the image in my product flavors with this structure:

MyProject/
 +-- build.gradle
 +-- src/
 |    |
 |    +-- main/
 |    +-- AndroidManifest.xml
 |    |    +-- java/
 |    |    +-- res/
 |    |    |    +-- drawable/
 |    |    |    +-- drawable-mdpi/
 |    |    |    +-- drawable-hdpi/
 |    |    |    +-- drawable-xhdpi/
 |    |
 |    +-- flavor1/
 |    |    +--res/
 |    |    |    +-- drawable/
 |    |    |    +-- drawable-mdpi/
 |    |    |    +-- drawable-hdpi/
 |    |    |    +-- drawable-xhdpi/
 |    |
 |    +-- flavor2/
 |    |    +-- res/
 |    |    |    +-- drawable/
 |    |    |    +-- drawable-mdpi/
 |    |    |    +-- drawable-hdpi/
 |    |    |    +-- drawable-xhdpi/

With Android Studio/Gradle's project & flavor structure, a manifest file and src
directory may not necessarily exist.
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

Successfully merging this pull request may close these issues.

1 participant