HMS-Core / hms-flutter-plugin

This repo contains all of Flutter HMS plugins.
https://developer.huawei.com/consumer/en/doc/overview/HMS-Core-Plugin?ha_source=hms1
Apache License 2.0
287 stars 147 forks source link

[huawei_ads]: Package com.huawei.android.hms.ppskit does not exist #396

Open deakjahn opened 4 days ago

deakjahn commented 4 days ago

Description

When building an app with huawei_ads the following error occurs:

huawei_ads-13.4.72+300\android\src\main\java\com\huawei\hms\flutter\ads\installreferrer\PpsChannelInfoService.java:28: error: package com.huawei.android.hms.ppskit does not exist
import com.huawei.android.hms.ppskit.IPPSChannelInfoService;

(plus a few others for the same issue).

Expected behavior

Build without error. Remove reference if obsolete.

Environment

deakjahn commented 4 days ago

The interface referenced seems to be in huawei_ads-13.4.72+300\android\src\main\aidl\com\huawei\android\hms\ppskit\IPPSChannelInfoService.aidl so it might be some toolchain error.

Also, removing PpsChannelInfoService.java completely makes the app buildable. I don't know the ramifications.