Project

General

Profile

Anomalie #3302

Gradle package to use

Added by Mickael G. about 6 years ago. Updated over 5 years ago.

Status:
Fermé
Priority:
Normal
Assignee:
Category:
Core
Target version:
Start date:
11/14/2013
Due date:
% Done:

100%

Estimated time:

Description

In Gradle projects, always use http://schemas.android.com/apk/res-auto for custom attributes

In Gradle projects, the actual package used in the final APK can vary; for you can add a `.debug` package suffix in one version and not the other. Therefore, you should not hardcode the application package in the resource; instead, use the special namespace `http://schemas.android.com/apk/res-auto` which will cause the tools to figure out the right namespace for the resource regardless of the actual package used during the build.


Recurrences

History

#4Updated by CI-Build . over 5 years ago

Build 664 finished SUCCESS from merge request !1666

#5Updated by Erwan L. over 5 years ago

Appliqué par commit origin|commit:3744a1cc02e92c50d9aa2bc31c4282504437aa49.

Also available in: Atom PDF

Go to top
Add picture from clipboard (Maximum size: 200 MB)