Droid Hub✨
Kanalga Telegram’da o‘tish
213
Obunachilar
Ma'lumot yo'q24 soatlar
+37 kun
+330 kun
Postlar arxiv
213
این قرار داد رو میگذاریم که عکس هارو svg تحویل بگیرم تا حجم فایل ها کم تر باشه و در نتیجه خروجی apk مون حجم پایین تری داشته باشه.
بعد میبینیم برامون svg ای فرستادن که به صورت نرمال حجمش از حالت png اش هم بالا تر رفته 😄
+ معمولا وقتی تنوع رنگ هایی که استفاده کردن خیلی زیاد باشه و المنت های گرافیکی مختلفی رو ترکیب کرده باشن این مشکل پیش میاد.
213
جایگزینی لامبدا مودیفایر ها به جای مودیفایر های معمولی به جهت افزایش پرفورمنس در api های کامپوز
213
بهبود های پرفورمنسی گوگل در api های کامپوز با جایگزین کردن modifier ها با نسخه ی لامبداییشون
213
بازی بقیه 👆
قدرت گرفته از انجین unreal
vs
بازی مناطق گریدل زده ی تحت اشغال برنامه نویس های اندروید 👇
قدرت گرفته از kotlin wasm و کامپوز
https://marcinmoskala.com/ModifierOrderGuesser/
213
writeDebugAppMetadata, writeDebugSigningConfigVersions -----
Purpose: Writes metadata and signing information.
Importance: Provides necessary data for installation.
packageDebug ------
Purpose: Packages code, resources, and assets into the final APK.
Importance: Creates the installable APK file.
createDebugApkListingFileRedirect -------
Purpose: Generates a file listing for the APK.
Importance: Helps locate the generated APK.
installDebug -----
Purpose: Installs the debug APK on a connected device or emulator.
Importance: Deploys the app for testing.
213
checkDebugAarMetadata -------
Purpose: Verifies AAR (Android Archive) metadata for the debug variant.
Importance: Prevents compatibility issues with Android dependencies.
generateDebugResValues ----------
Purpose: Generates resource values (e.g., strings, dimensions) for the debug build.
Importance: Populates essential resources needed during the build.
mapDebugSourceSetPaths ---------
Purpose: Maps source set paths for the debug build.
Importance: Ensures Gradle can locate the correct source directories.
generateDebugResources -----------
Purpose: Compiles resources for the debug build (e.g., drawables, layouts).
Importance: Prepares resources for merging.
mergeDebugResources --------
Purpose: Merges resources from various source sets into one.
Importance: Avoids resource conflicts and prepares a unified set.
packageDebugResources ----------
Purpose: Packages merged resources into the APK.
Importance: Ensures all resources are included in the final build.
parseDebugLocalResources ----------
Purpose: Parses local resources for the debug variant.
Importance: Validates and processes local resources.
createDebugCompatibleScreenManifests ---------
Purpose: Generates a simplified manifest for screen compatibility.
Importance: Ensures the app works across different screen sizes.
extractDeepLinksDebug ------------
Purpose: Extracts information about deep links in the debug build.
Importance: Prepares deep link data for testing.
processDebugMainManifest, processDebugManifest, processDebugManifestForPackage --------
Purpose: Merges and processes the Android Manifest for the debug build.
Importance: Ensures manifest files are correctly configured.
processDebugResources ---------
Purpose: Processes resources and generates the
R.java class.
Importance: Allows the app to access resources programmatically.
kaptGenerateStubsDebugKotlin ------
Purpose: Generates stubs for Kotlin annotation processors.
Importance: Supports libraries like Room and Dagger.
kaptDebugKotlin --------
Purpose: Runs Kotlin annotation processors for the debug build.
Importance: Generates code for annotations.
compileDebugKotlin -------
Purpose: Compiles Kotlin source code for the debug build.
Importance: Converts Kotlin code to bytecode.
javaPreCompileDebug -----------
Purpose: Prepares Java sources for compilation.
Importance: Ensures all imports and dependencies are ready.
compileDebugJavaWithJavac ---------
Purpose: Compiles Java code using javac.
Importance: Transforms Java code into bytecode.
mergeDebugShaders, compileDebugShaders -------
Purpose: Merges and compiles OpenGL shaders.
Importance: Prepares graphical elements used in the app.
generateDebugAssets, mergeDebugAssets, compressDebugAssets --------
Purpose: Handles assets like images and fonts.
Importance: Ensures optimized assets are included in the APK.
desugarDebugFileDependencies ----------
Purpose: Transforms Java 8 features for older Android versions.
Importance: Enables Java 8 features on older devices.
dexBuilderDebug -------
Purpose: Converts bytecode to DEX format.
Importance: Prepares code for execution on Android.
mergeDebugGlobalSynthetics, processDebugJavaRes, mergeDebugJavaResource ------
Purpose: Merges Java resources and synthetic classes.
Importance: Ensures all resources are included.
checkDebugDuplicateClasses -------
Purpose: Checks for duplicate class files.
Importance: Prevents runtime crashes due to conflicts.
mergeExtDexDebug, mergeLibDexDebug, mergeProjectDexDebug ------
Purpose: Merges DEX files from external dependencies and the project.
Importance: Combines all DEX files into one executable.
mergeDebugJniLibFolders, mergeDebugNativeLibs -----
Purpose: Merges native libraries (JNI) for the debug build.
Importance: Includes native code in the APK.
stripDebugDebugSymbols -------
Purpose: Removes debug symbols to reduce APK size.
Importance: Optimizes APK size.
validateSigningDebug --------
Purpose: Checks the signing configuration.
Importance: Ensures the APK is correctly signed.213
از زمانی که روی دکمه بیلد در اندروید استادیو کلیک میکنید تا لحظه ای که خروجی apk ساخته میشه
این تسک ها روی گریدل انجام میشه
:checkKotlinGradlePluginConfigurationErrors -----------
Purpose: Scans for configuration errors related to the Kotlin Gradle plugin.
Importance: Prevents misconfigurations that could break your build before it even starts.
preBuild -------------
Purpose: Prepares the project for the build process.
Importance: Ensures all prerequisites are in place before starting.
preDebugBuild -------------
Purpose: Sets up the project for the debug build variant.
Importance: Configures debug-specific settings.
213
+3
k1 vs k2 compiler performance
-> In IntelliJ IDEA 2024.3, K2 mode is out of Beta and is now Stable and ready for general use. K2 mode significantly improves code analysis stability, memory consumption efficiency, and the IDE’s overall performance, and it supports Kotlin 2.1 language features.
213
Every morning is a fresh start, a new opportunity to chase your dreams and embrace the possibilities of the day.
213
JetBrains is making it possible to build apps for iOS platforms using cloud machines next year!
so users who don't have Apple device can do Kotlin Multiplatform as well ...!
#News
213
https://github.com/DrKLO/Telegram/blob/master/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java
یکی از دلایلی که تلگرام با تعداد کمی از توسعه دهنده ها اداره میشه...
نیرو های جدید چند ماه طول میکشه تا روی همین یدونه اکتیویتی آنبورد بشن 😁
پ.ن ) توی تصویر هم یه مشکل پرفورمنسی در کدشون وجود داره runOnUiThread های تو در تو و غیر ضروری منجر صف بندی های اضافی وظایف در ترد Main میشه
