我只是想在Android Studio 2.1 Preview 1中使用新的预览SDK 24 Android N编译我的应用程序.
我在我的应用中使用应用结算.
在尝试构建应用程序时,我得到以下异常
aidl.exe E 6416 3312 io_delegate.cpp:102] Error while creating directories: Invalid argument
Error:Execution failed for task ':app:compileDebugAidl'.
> java.lang.RuntimeException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Gebruiker\AppData\Local\Android\Sdk\build-tools\24.0.0-preview\aidl.exe'' finished with non-zero exit value 1
Run Code Online (Sandbox Code Playgroud)
我已经尝试使用最新的IInAppBillingService.aidl,但我仍然得到相同的错误.当我删除IInAppBillingService.aidl文件时,项目编译正常.
这是我构建gradle的一部分
compileSdkVersion 'android-N'
buildToolsVersion "24.0.0 rc1"
defaultConfig {
applicationId "xxx.myapp"
minSdkVersion 14
targetSdkVersion 'N'
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
Run Code Online (Sandbox Code Playgroud)
IInAppBillingService.aidl文件位于以下文件夹中
src/main/aidl/com/android/vending/billing
Run Code Online (Sandbox Code Playgroud)
如何解决这个问题?
android aidl in-app-billing android-studio android-7.0-nougat
我希望创建以下布局(红色sqaures不一定是正方形,自定义固定高度也很好).布局似乎很简单,但我找不到适合我需要的布局管理器.

我尝试了StaggeredGridLayoutManager,但这只允许设置列或行的跨度,而不是两者.
在自定义布局管理器周围是否有浮动能够执行此操作?我看过TwoWayView但是改变高度似乎有问题而且库没有被维护.
有人遇到这个问题并解决了吗?