Vishwajith-Shettigar / NextGen

MIT License
14 stars 40 forks source link

[Bug] Red stroke is not showing in default image on map. #75

Open Vishwajith-Shettigar opened 4 days ago

Vishwajith-Shettigar commented 4 days ago

When nearby people shows on map with default image avatar, it doesn't show red border.

Screenshot_2024-10-10-09-00-35-59

MiRa202321 commented 4 days ago

75 I want to work on this bug. Can you please assign me this issue?

MiRa202321 commented 3 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.

Screenshot 2024-10-11 103743

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

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' }

Screenshot 2024-10-11 111638

Vishwajith-Shettigar commented 3 days ago

@MiRa202321, was your build successful before making any changes to the project?

Vishwajith-Shettigar commented 3 days ago

@MiRa202321, set your JAVA_HOME to JDK 17 in the environmental variables.

Screenshot (156)

MiRa202321 commented 3 days ago

@Vishwajith-Shettigar It is resolved. Thank You..

MiRa202321 commented 2 days ago

Screenshot 2024-10-12 010249

@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 commented 2 days ago

Screenshot 2024-10-12 010249

@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.