Skip to content

Android integration issues #5654

@vaslabs

Description

@vaslabs

I'm adding this issue to track minor bugs/missing features while I'm experimenting with various apps.

Issues found so far:

example

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

</manifest>
  • generatedSourcesWithKSP fails if android APIs (from android.jar) are mentioned -> android.jar is also missing from the classpath in the case of submodules (AndroidModule). PR Android: fix androidCompiledModuleResources #5662
    e.g. these are workarounds
  override def kspClasspath: T[Seq[PathRef]] = super.kspClasspath() ++ androidSdkModule().androidLibsClasspaths()

  override def compileClasspath: T[Seq[PathRef]] = 
    super.compileClasspath() ++ androidSdkModule().androidLibsClasspaths()

Workaround Reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions