Klaus

Results 7 comments of Klaus

Has anyone thought of copyrighting or trademarking 'CodeTalk'? see https://codetalk.io ...

Well, I had the same apiKey issue and after using the apiKey as raw string a new issue popped up: "unresolved reference" error in PhotoReasoningScreen.kt -> None of the following...

I'm using the string literal.

Yes, the workaround (string literal) works fine but the BuildConfig.GEMINI_API_KEY method does not. -Klaus. Here is my complete response: No change; same issue with or without surrounding “” or ‘’...

follow-up: after changing to and using api key name “apiKey” instead of GEMINI_API_KEY or GOOGLE_API_KEY, same issue: e: file:///Users//DevTools/AndroidStudioProjects/navix/app/src/main/java/com//navix/ui/screens/camera/CameraViewModel.kt:25:34 Unresolved reference: apiKey -Klaus. > On Jun 5, 2024, at 8:59...

Hi Rodrigo, It worked (1st) with the apiKey=xyz defined in the "secrets.defaults.properties" file AND (2nd) making sure the BuildConfig class is from the local "com.xyz.navix” app and not from "com.google.ai.client.generativeai"....

nop, did not touch this secrets config section. This is still from the original “lensfriend” app example: secrets { propertiesFileName = "secrets.properties" defaultPropertiesFileName = "secrets.defaults.properties" } and the original “secrets.defaults.properties”...