Before I get besieged with "duplicate question" flags, I've looked at the answers to tons of questions, but none have helped me.
This is my AIDL file that defines my Parcleable object:
Position.aidl
package practice.parcey.second
parcelable Position;
And then my reporter:
MyServiceReporter.aidl
package practice.parcey.second;
import practice.parcey.second.Position;
interface MyServiceReporter {
void report(List<Position> positions);
}
*** for the below comments, underscores represent greater-than and less-than brackets, since this editor ignores them for some reason.
In that interface, if I change 'List_Position_' to 'int', everything compiles correctly. Of course, I don't want an 'int'.
Also, if I change "List_Position_" to "List_int_" it fails. This is perhaps the most curious part of all. And the compilation fails regardless of whether I include an import on java.util.list, such as:
package practice.parcey.second;
import practice.parcey.second.Position;
import java.util.List;
interface MyServiceReporter {
void report(List<int> positions);
}
In every case, I get the same lovely error message:
Error:Execution failed for task ':app:compileDebugAidl'.
java.lang.RuntimeException: com.android.ide.common.process.ProcessException: Error while executing process C:\Android\sdk\build-tools\25.0.3\aidl.exe with arguments {-pC:\Android\sdk\platforms\android-26\framework.aidl .......