Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: unable to open projects made by Google itself #32120

Closed
AndroidDeveloperLB opened this issue Jan 21, 2025 · 2 comments
Closed

Bug: unable to open projects made by Google itself #32120

AndroidDeveloperLB opened this issue Jan 21, 2025 · 2 comments
Labels
closed:invalid Not applicable to Gradle or EOL version

Comments

@AndroidDeveloperLB
Copy link

Current Behavior

I was told to write about this here:
https://issuetracker.google.com/issues/390647052

Expected Behavior

Be able to open Google's own sample

Context (optional)

No response

Self-contained Reproducer Project

Open project, and build it.

Gradle version

gradle-8.8-all.zip

Build scan URL (optional)

No response

Your Environment (optional)

Android Studio Meerkat | 2024.3.1 Canary 9
Build #AI-243.22562.218.2431.12894773, built on January 9, 2025
Runtime version: 21.0.5+-12771278-b631.28 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
Kotlin plugin: K2 mode
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 7168M
Cores: 16
Registry:
ide.instant.shutdown=false
ide.experimental.ui=true
i18n.locale=
ide.images.show.chessboard=true
Non-Bundled Plugins:
com.intellij.marketplace (243.22562.238)
cn.jxzhang.plugin.json-formatter (1.6)
Show As ... (1.0.3)
String Manipulation (9.15.0)
GenerateSerialVersionUID (3.0.3)
com.steve.plugins.autoscroll (1.1)
com.dethlex.numberconverter (2.1.1)
izhangzhihao.rainbow.brackets (2024.2.8-241)
com.developerphil.adbidea (1.6.19)
GenerateSerializationHelpers (1.0.6)
cn.yiiguxing.plugin.translate (3.6.8)

@ljacomet
Copy link
Member

Gradle fails because of the following lines which are not valid Kotlin:

  compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
  }

These assignments need an =. So the bug is effectively in the Google sample, not Gradle. You will have to post back on that issue that was closed by the Google side.

Source reference

@ljacomet ljacomet closed this as not planned Won't fix, can't repro, duplicate, stale Jan 22, 2025
@ljacomet ljacomet added closed:invalid Not applicable to Gradle or EOL version and removed a:bug to-triage labels Jan 22, 2025
@AndroidDeveloperLB
Copy link
Author

@ljacomet Guys I already reported there:
googleads/googleads-mobile-android-examples#787

And I don't get why it even got updated last month, without building it and seeing that this issue exists...

https://github.com/googleads/googleads-mobile-android-examples/tree/main/kotlin/advanced/InlineAdaptiveBannerExample

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed:invalid Not applicable to Gradle or EOL version
Projects
None yet
Development

No branches or pull requests

2 participants