Comments (4)
Hello @androidacy-user could you please share your build.gradle.kts file?
Pre solution recommendation:
If you have this line in your gradle file
id("ly.count.android.plugins.UploadSymbolsPlugin")
Please change it with this
id 'ly.count.android.plugins.upload-symbols' version '24.1.1'
from countly-sdk-android.
Hello @androidacy-user could you please share your build.gradle.kts file?
Pre solution recommendation:
If you have this line in your gradle file
id("ly.count.android.plugins.UploadSymbolsPlugin")
Please change it with this
id 'ly.count.android.plugins.upload-symbols' version '24.1.1'
Nothing we did got it to work. We have the relevant classpath line in the root build.gradle.kts, and just trying to type in the plugin name in the app build.gradle.kts recognizes the class name, it's just not recognizing as a valid plugin.
N.B. I'm somewhat limited on what code in permitted to share from the project as it's proprietary, but always happy to try to troubleshoot otherwise!
from countly-sdk-android.
If you are using root gradle file, I need to find out how it is structured.
If in the plugins section it is registered like that
id 'ly.count.android.plugins.upload-symbols' version '24.1.1'
Could you add apply false to the end.
And if possible could you share maybe simplified version of your grade file?
from countly-sdk-android.
@androidacy-user Hello, I had time to try with a new fresh kotlin application. Here are the root and application level gradle files.
This is root level gradle file
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("com.android.application") version "8.2.0" apply false
id("org.jetbrains.kotlin.android") version "1.9.0" apply false
id("ly.count.android.plugins.upload-symbols") version "24.1.1" apply false
}
And this is application level gradle file
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("ly.count.android.plugins.upload-symbols")
}
android {
namespace = "ly.count.datapush.myapplication"
compileSdk = 34
defaultConfig {
applicationId = "ly.count.datapush.myapplication"
minSdk = 30
targetSdk = 34
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary = true
}
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.1"
}
packaging {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}
}
dependencies {
implementation("androidx.core:core-ktx:1.12.0")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0")
implementation("androidx.activity:activity-compose:1.8.2")
implementation(platform("androidx.compose:compose-bom:2023.08.00"))
implementation("androidx.compose.ui:ui")
implementation("androidx.compose.ui:ui-graphics")
implementation("androidx.compose.ui:ui-tooling-preview")
implementation("androidx.compose.material3:material3")
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.5")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
androidTestImplementation(platform("androidx.compose:compose-bom:2023.08.00"))
androidTestImplementation("androidx.compose.ui:ui-test-junit4")
debugImplementation("androidx.compose.ui:ui-tooling")
debugImplementation("androidx.compose.ui:ui-test-manifest")
}
Also rather than using "plugins" block a single apply block can be used
apply(plugin = "ly.count.android.plugins.upload-symbols")
I will update the documentation for kotlin integrations. Thank you for your patience
from countly-sdk-android.
Related Issues (20)
- Crashes get lost HOT 2
- Event gets associated with wrong user HOT 5
- Servers with TLSv1.3 get authType generic leads to connection failure HOT 6
- Events Segmentation Issue Not getting complete data HOT 2
- Error on api 31 HOT 2
- Push notification crash on Android 12 HOT 1
- Add a way to stop the service - like stop() HOT 11
- 21.11.0 release broken due to internal API and no documentation HOT 4
- 21.11.0 crashes in MigrationHelper.java HOT 2
- Not able to read the remoteConfig value in Android Project HOT 3
- App version is not send anymore HOT 2
- Do you have plan to support auto HOOK for click events? HOT 1
- Crash Details ignore metric overrides HOT 2
- Some symbols are omitted in event segments HOT 1
- how can i apply ly.count.android.plugins.UploadSymbolsPlugin in build.gradle.kts file? HOT 6
- Where are the event files on the android system? HOT 2
- Targeting SDK34 requires Context-based BroadcastReceivers Exported declaration HOT 2
- Targeting SDK34 requires Context-based BroadcastReceivers Exported declaration HOT 1
- The duration statistics of Activity usage are incorrect. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from countly-sdk-android.