Open Vishwajith-Shettigar opened 4 days ago
I have made these changes in the fucntion getRoundedBitmap() in NearByFragment class. This will now create a circular bitmap with a red border around it instead of just a rounded bitmap.
But while Rebuilding the Project I am encountering this error:
Execution failed for task ':data:kaptGenerateStubsDebugKotlin'.
'compileDebugJavaWithJavac' task (current target is 1.8) and 'kaptGenerateStubsDebugKotlin' task (current target is 17) jvm target compatibility should be set to the same Java version. Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Get more help at https://help.gradle.org. Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 2m 46s 144 actionable tasks: 144 executed The build scan was not published due to a configuration problem. The Gradle Terms of Service have not been agreed to. For more information, please see https://gradle.com/help/plugin-terms-of-service. Alternatively, if you are using Gradle Enterprise, specify the server location. For more information, please see https://gradle.com/help/plugin-enterprise-config.
To resolve this version incompatibility, I added this in app/build.gradle as well as data/build.gradle, but still it is not resolved,
//added these configurations to resolve Java version incompatibility error compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = '1.8' }
@MiRa202321, was your build successful before making any changes to the project?
@MiRa202321, set your JAVA_HOME
to JDK 17 in the environmental variables.
@Vishwajith-Shettigar It is resolved. Thank You..
@Vishwajith-Shettigar Why is the map blank? Can it be because of some fault while setting up? I have allowed the permissions to access my location.
@Vishwajith-Shettigar Why is the map blank? Can it be because of some fault while setting up? I have allowed the permissions to access my location.
I think you forgot to create Maps API key. Have a look at contributors guide.
When nearby people shows on map with default image avatar, it doesn't show red border.