Compilation Error
Opened this issue · 2 comments
Thanks for all your work on this project so far.
I am having a bit of trouble compiling the apk. I have cloned the project and its submodules but I still receive this error.
> Task :app:compileDebugJavaWithJavac FAILED
/home/android/code/ims/app/src/main/java/me/phh/ims/PhhMmTelFeatureProtected.java:31: error: CapabilityCallbackProxy has protected access in ImsFeature
ImsFeature.CapabilityCallbackProxy capabilityCallbackProxy) {
^
/home/android/code/ims/app/src/main/java/me/phh/ims/PhhMmTelFeatureProtected.java:19: error: MmTelFeature() is not public in MmTelFeature; cannot be accessed from outside package
public PhhMmTelFeatureProtected(int slotId) {
^
/home/android/code/ims/app/src/main/java/me/phh/ims/PhhMmTelFeatureProtected.java:55: error: MmTelCapabilities() is not public in MmTelCapabilities; cannot be accessed from outside package
MmTelFeature.MmTelCapabilities capabilities = new MmTelFeature.MmTelCapabilities();
^
/home/android/code/ims/app/src/main/java/me/phh/ims/PhhMmTelFeatureProtected.java:56: error: cannot find symbol
capabilities.addCapabilities(this.capabilities);
^
symbol: method addCapabilities(int)
location: variable capabilities of type MmTelCapabilities
/home/android/code/ims/app/src/main/java/me/phh/ims/PhhMmTelFeatureProtected.java:57: error: cannot find symbol
notifyCapabilitiesStatusChanged(capabilities);
^
symbol: method notifyCapabilitiesStatusChanged(MmTelCapabilities)
location: class PhhMmTelFeatureProtected
5 errors
Any ideas on what I did wrong?
Cf README, you need to patch your Android SDK with zip -d ./platforms/android-33/android.jar android/telephony/ims/feature/MmTelFeature.class android/telephony/ims/feature/MmTelFeature\$MmTelCapabilities.class
Thanks for the clarification. I wasn't entirely sure on what to do with that command as I didn't know that it meant to patch the Android SDK. I thought it was just extracting those files from ims/app/libs/android.jar
out into the current root of the project. Anyway found where my platform
directory was - which was in ~/Android/Sdk/
.
Build was now successful but received the following error on installation INSTALL_FAILED_SHARED_USER_INCOMPATIBLE
.
This is on LibreMobileOS on an LG V30+ (H930DS). If I remove android:sharedUserId="android.uid.system"
from the AndroidManifest.xml
it is able to be installed. However I do not see any options about VoWiFi or VoLTE anywhere.