Android Studio App, in der Bananendiagramme angezeigt werden
Posted: 20 Mar 2025, 21:44
Beginnen Sie mit dem Hinzufügen aller Abhängigkeiten, die Sie benötigen. Ich werde diese verwenden: < /p>
Code: Select all
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
implementation 'com.google.android.material:material:1.4.0'
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
implementation 'com.google.code.gson:gson:2.8.8'
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
< /code>
Als nächstes müssen Sie Repositories addieren < /p>
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
< /code>
Ihr AndoridManifest sollte ungefähr so aussehen: < /p>