Ausnahme gefangen: SSL certificate problem: certificate is not yet valid ๐Ÿ“Œ Preparing your Gradle build for package visibility in Android 11

๐Ÿ  Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeitrรคge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden รœberblick รผber die wichtigsten Aspekte der IT-Sicherheit in einer sich stรคndig verรคndernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch รผbersetzen, erst Englisch auswรคhlen dann wieder Deutsch!

Google Android Playstore Download Button fรผr Team IT Security



๐Ÿ“š Preparing your Gradle build for package visibility in Android 11


๐Ÿ’ก Newskategorie: Android Tipps
๐Ÿ”— Quelle: feedproxy.google.com


Posted by David Winer, Product Manager

illustration of mobile device with lock
One of the central themes for Android 11 has been protecting user privacy. On Android 10 and earlier, you could query the full set of installed apps using methods like queryIntentActivities(). Often, however, this approach provides much more access than most apps need to implement their functionality. To better protect user privacy, we updated how apps view and interact with other installed apps on Android 11.
To provide better accountability for access to installed apps, apps targeting Android 11 (API level 30) will see a filtered list of installed apps by default. The new <queries> element in your app or libraryโ€™s Android manifest allows you to describe which other apps you might need to interact with. For more information about this change, check out our Medium post on package visibility in Android 11.

Android Studio and Gradle support

If you are using Android Gradle plugin 4.1+, your tools should work with the new <queries> declaration. However, older versions of the Android Gradle plugin are not aware of this new element. If you add the <queries> element or if you start relying on a library or SDK that supports targeting Android 11, you may encounter manifest merging errors. For example, when building your app you may see the following error in the Build Output Window:
Android resource linking failed /Users/sample/AndroidStudioProjects/MyApp/app/build/intermediates/merged_manifests/debug/AndroidManifest.xml:18: error: unexpected element <queries> found in <manifest>
Alternatively, you may see an error in the Build Output Window that directs you to the Manifest merger logs:
Manifest merger failed with multiple errors, see logs
Upon expanding the Merged Manifest view you would then see an additional error:
Error: Missing 'package' key attribute on element package

Android Gradle plugin fixes

The best solution to deal with these errors is to upgrade to Android Gradle plugin 4.1 Beta.
We know that not everyone is ready to upgrade to the latest version, though, and you may be relying on old versions of Gradle or libraries that arenโ€™t compatible with 4.1.
So, today we issued a set of dot releases for the Android Gradle plugin that are compatible with <queries>:
For example, if you are currently using Android Gradle plugin version 4.0.0, you can upgrade the version in your project-level build.gradle file:
 buildscript {

    repositories {
        google()
        jcenter()
    }

    dependencies {
        // classpath 'com.android.tools.build:gradle:4.0.0'
        classpath 'com.android.tools.build:gradle:4.0.1'
    }
}

For more information on this new feature in Android 11, check out the package visibility documentation and the Android Gradle plugin release notes.

...



๐Ÿ“Œ Preparing your Gradle build for package visibility in Android 11


๐Ÿ“ˆ 69.92 Punkte

๐Ÿ“Œ Gradle gradle-enterprise-test-distribution-agent Registration pathname traversal


๐Ÿ“ˆ 39.76 Punkte

๐Ÿ“Œ Zwei Probleme in gradle-bootstrap und gradle (SUSE)


๐Ÿ“ˆ 39.76 Punkte

๐Ÿ“Œ Multi-Modules Architecture: Dependency Management _ Build your own gradle plugin


๐Ÿ“ˆ 28.78 Punkte

๐Ÿ“Œ Build Your First Spring Boot REST Application with Gradle


๐Ÿ“ˆ 28.78 Punkte

๐Ÿ“Œ Prepare your Android Project for Android Gradle plugin 8.0 API changes


๐Ÿ“ˆ 28.42 Punkte

๐Ÿ“Œ Beginner's Guide to Understand Build Gradle Files in Android Studio


๐Ÿ“ˆ 27.81 Punkte

๐Ÿ“Œ Complete and continuous remote worker visibility with Network Visibility Module data as a primary telemetry source


๐Ÿ“ˆ 27.42 Punkte

๐Ÿ“Œ Introducing dataflow templates; A quick and efficient way to build your sales leaderboard and get visibility over your sales pipeline


๐Ÿ“ˆ 26.11 Punkte

๐Ÿ“Œ Build Bigger, Better: Gradle for Large Projects (Google I/O'19)


๐Ÿ“ˆ 25.29 Punkte

๐Ÿ“Œ arrow-kt Arrow up to 0.8.x Gradle Build Artifact Resolver weak encryption


๐Ÿ“ˆ 25.29 Punkte

๐Ÿ“Œ Gradle Enterprise up to 2018.5.1 Build Cache Node Password information disclosure


๐Ÿ“ˆ 25.29 Punkte

๐Ÿ“Œ Gradle Enterprise up to 2018.5.2 Build Cache Node weak encryption


๐Ÿ“ˆ 25.29 Punkte

๐Ÿ“Œ Gradle up to 5.5 Build Tool Redirect information disclosure


๐Ÿ“ˆ 25.29 Punkte

๐Ÿ“Œ Build-Werkzeug: Gradle 7 zielt auf Apple Silicon und Java 16


๐Ÿ“ˆ 25.29 Punkte

๐Ÿ“Œ CVE-2023-30853 | Gradle Build Action up to 2.4.1 Command-Line Argument information disclosure (GHSA-h3qr-39j9-4r5v)


๐Ÿ“ˆ 25.29 Punkte

๐Ÿ“Œ Build a Spring Boot REST Application With Gradle


๐Ÿ“ˆ 25.29 Punkte

๐Ÿ“Œ Announcing Android Studio Arctic Fox (2020.3.1) & Android Gradle plugin 7.0


๐Ÿ“ˆ 24.93 Punkte

๐Ÿ“Œ Announcing Android Studio Arctic Fox (2020.3.1) & Android Gradle plugin 7.0


๐Ÿ“ˆ 24.93 Punkte

๐Ÿ“Œ Android Studio: Android Gradle Plug-in fรผhrt semantische Versionierung ein


๐Ÿ“ˆ 24.93 Punkte

๐Ÿ“Œ Bugtraq: CVE-2017-3160: Gradle Distribution URL used by Cordova-Android does not use https by default


๐Ÿ“ˆ 22.4 Punkte

๐Ÿ“Œ From Gradle Properties to AGP APIs (Android Dev Summit '19)


๐Ÿ“ˆ 22.4 Punkte

๐Ÿ“Œ Whatโ€™s new in Android Gradle plugin


๐Ÿ“ˆ 22.4 Punkte

๐Ÿ“Œ AGP 7.0: Next major release for the Android Gradle plugin


๐Ÿ“ˆ 22.4 Punkte

๐Ÿ“Œ AGP 7.0: Next major release for the Android Gradle plugin


๐Ÿ“ˆ 22.4 Punkte

๐Ÿ“Œ AndroidX, Gradle and Metalava - Android Developers Backstage


๐Ÿ“ˆ 22.4 Punkte

๐Ÿ“Œ Transitioning From Groovy to Kotlin for Gradle Android Projects


๐Ÿ“ˆ 22.4 Punkte

๐Ÿ“Œ How Much of Your Attack Surface is Beyond Your Visibility?


๐Ÿ“ˆ 20.7 Punkte

๐Ÿ“Œ Donโ€™t Have Real-time Visibility and Control Over Your Endpoints? Your Business May Be at Risk


๐Ÿ“ˆ 20.7 Punkte

๐Ÿ“Œ Donโ€™t Have Real-time Visibility and Control Over Your Endpoints? Your Business May Be at Risk


๐Ÿ“ˆ 20.7 Punkte

๐Ÿ“Œ Windows 11 Dev Build 25267: Microsoft is preparing future rounded Search and taskbar UI


๐Ÿ“ˆ 20.51 Punkte

๐Ÿ“Œ Chinese Military Preparing to Build a New Operating System to Replace Windows OS โ€“ Fear of U.S Hacking


๐Ÿ“ˆ 20.51 Punkte

๐Ÿ“Œ Schwachstellensuche: Snyk untersucht nun auch Python, Gradle und Scala


๐Ÿ“ˆ 19.88 Punkte

๐Ÿ“Œ Vaadin 11 arbeitet mit Gradle zusammen


๐Ÿ“ˆ 19.88 Punkte

๐Ÿ“Œ Mangelnde Eingabeprรผfung in gradle (Fedora)


๐Ÿ“ˆ 19.88 Punkte











matomo