小编int*_*_32的帖子

该应用与您的所有设备不兼容

在发布这个问题之前,我已经阅读了所有相关问题.

我用Unity3D开发了一款游戏并上传到Google Play.昨天它适用于所有设备,有来自其他用户的评论.今天我有几个关于Google Play上应用程序不可用的报告.它可以在GP的Web版本上使用,但是对于任何设备都不兼容,并且在GP上的移动版本中根本不可用.在开发者控制台中,所有设备都兼容: 开发控制台

并且在Web版本上它们不是(以前的所有版本都已从设备中删除): 网络Google Play

我的清单文件:

<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="pro.labster.xyz" android:versionName="1.0" android:versionCode="1" android:installLocation="preferExternal">
  <supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
  <application android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="false">
<!-- ... -->

<uses-permission android:name="android.permission.INTERNET" />
  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="19" />
  <uses-feature android:glEsVersion="0x00020000" />
  <uses-feature android:name="android.hardware.touchscreen" />
  <uses-feature android:name="android.hardware.touchscreen.multitouch" android:required="false" />
  <uses-feature android:name="android.hardware.touchscreen.multitouch.distinct" android:required="false" />
Run Code Online (Sandbox Code Playgroud)

所以,问题是,为什么它是可利用的昨天,是当今不可用?我没有上传新版本,没有改变任何东西.该应用程序是完全免费的,其大小约为8.5 MB.

android unity-game-engine google-play

18
推荐指数
3
解决办法
1万
查看次数

post_save信号未被调用

我已经阅读了所有相关问题.

我有两个Django项目,信号在一个工作正常,但不在第二个工作(我只是分别复制粘贴代码和更改名称).

我有订单模型的订单应用程序.应用程序包含在INSTALLED_APPS设置中.

我在apps.py中有app配置:

from django.apps import AppConfig


class OrdersConfig(AppConfig):
    name = 'orders'

    def ready(self):
        super(OrdersConfig, self).ready()

        # noinspection PyUnresolvedReferences
        import signals
Run Code Online (Sandbox Code Playgroud)

__init__.py:

default_app_config = 'orders.apps.OrdersConfig'
Run Code Online (Sandbox Code Playgroud)

最后,signals.py:

@receiver(post_save, sender=Order)
def order_save(sender, instance, created, **kwargs):
    print 'Post save'
    if created:
        print 'Created'
        send_email_new_order.delay(settings.MODERATOR_EMAIL, instance.pk)
Run Code Online (Sandbox Code Playgroud)

信号没有被调用.为什么?

Django 1.10.3.

python django django-signals django-models

17
推荐指数
2
解决办法
7537
查看次数

Java - 字节[]到byte []

有Vector和DataOutputStream.我需要将Vector中的字节(toArray返回Byte [])写入流,但它只能理解byte [].如何将Byte []转换为byte []?

java byte bytearray

16
推荐指数
2
解决办法
5万
查看次数

设置RelativeLayout子级以填充未使用的空间

我有这个布局:

<RelativeLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent" >

    <ImageView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:src="@drawable/stat_brightness_off"
        android:layout_toLeftOf="@id/brightnessSeekBar" />

    <SeekBar
        android:id="@+id/brightnessSeekBar"
        android:layout_width="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_height="wrap_content" />

    <ImageView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_toRightOf="@id/brightnessSeekBar"
        android:src="@drawable/stat_brightness_on" />
</RelativeLayout>
Run Code Online (Sandbox Code Playgroud)

我需要SeekBar填充所有未使用的水平空间ImageView(它们大约是64*64像素).我该怎么办?

android android-layout android-relativelayout

16
推荐指数
1
解决办法
2万
查看次数

Gradle中的多个maven存储库

我有以下build.gradle:

buildscript {
    repositories {
        maven { url 'https://maven.fabric.io/public' }

        maven {
            url "https://dl.bintray.com/fyber/maven"
        }

        maven {
            url "https://dl.bintray.com/supersonic/android-sdk"
        }
    }

    dependencies {
        classpath 'io.fabric.tools:gradle:1.19.1'
    }
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
apply plugin: 'com.google.gms.google-services'

dependencies {
// Ads
      compile 'com.supersonic.sdk:mediationsdk:6.1.0@jar'
}
Run Code Online (Sandbox Code Playgroud)

我收到这个错误:

错误:(88,13)无法解决:com.supersonic.sdk:mediationsdk:6.2.0

我已检查存储库中是否存在该库.为什么我收到此错误?

android gradle maven android-studio

15
推荐指数
1
解决办法
9143
查看次数

Tesseract无法识别单个字符

如何表示:

  1. 用油漆(任何尺寸)创建新图像
  2. 在此图像上添加字母A.
  3. 尝试识别 - > tesseract将找不到任何字母
  4. 将此信件复制粘贴5-6次到此图片
  5. 尝试识别 - > tesseract会找到所有的字母

为什么?

ocr tesseract

14
推荐指数
4
解决办法
2万
查看次数

FPS在SpriteKit中下降

我正在用Swift和SpriteKit开发一个简单的游戏,我注意到FPS从60降到58-59(以及后退).发生丢弃时会出现明显的延迟 - 看起来像丢弃了1或2帧.

CPU负载大约为20-25%并且变化不大,内存使用量永久约为8 MB.

截图: 应用截图

屏幕上有6个对象:标签,红色对象(Sprite),2x绿色对象(Sprite),一个框(Sprite)和"ground"(Rect形状节点).

除标签外的所有对象都有物理主体(以白色边框显示).

动态创建绿色和白色对象,从右向左移动并在屏幕外时销毁:

func scheduleAddingLiquid() {
let wait = SKAction.waitForDuration(NSTimeInterval(getRandomNumber(1, end: 3)))
        let block = SKAction.runBlock({
            [unowned self] in

            let liquidNode = LiquidNode(texture: self.liquidTexture, sceneFrame: self.frame)
            self.addChild(liquidNode)
            liquidNode.move()

            self.scheduleAddingLiquid()
        })

        let sequence = SKAction.sequence([wait, block])
        runAction(sequence)
Run Code Online (Sandbox Code Playgroud)

和:

func move() {
        let moveAction = SKAction.moveToX(-frame.width, duration: NSTimeInterval(3))
        let removeBlock = SKAction.runBlock({
            [unowned self] in

            self.removeFromParent()
            })

        runAction(SKAction.sequence([moveAction, removeBlock]))
    }
Run Code Online (Sandbox Code Playgroud)

屏幕触摸时红色物体"跳跃":

if touches.count > 0 && isHeroOnGround && heroNode != nil {
            isHeroOnGround = false
            heroNode.physicsBody?.velocity …
Run Code Online (Sandbox Code Playgroud)

ios sprite-kit swift

13
推荐指数
1
解决办法
911
查看次数

Google Analytics V3 for Android:服务不可用(代码= 1),使用本地商店

我在官方教程中描述的Android应用程序中实现了GAv3.我在logcat中收到以下警告:

W/GAV3    ( 3031): Thread[GAThread,5,main]: Service unavailable (code=1), will retry.
I/GAV3    ( 3031): Thread[GAThread,5,main]: No campaign data found.
W/GAV3    ( 3031): Thread[Service Reconnect,5,main]: Service unavailable (code=1), using local store.
Run Code Online (Sandbox Code Playgroud)

有高速互联网接入,跟踪ID设置正确.我没有看到我的设备的统计数据.在Android 2.3和4.3.1上测试过.

android google-analytics

12
推荐指数
1
解决办法
3175
查看次数

通过对话框在WebView上的Google网站上授权用户

例如,用户在WebView中导航到google.com.

是否可以通过Google帐户选择器(如https://developers.google.com/android/guides/http-auth中所述)在那里授权,以简化授权,而不是通过网络表单手动登录?Android Web浏览器(例如Google Chrome)通过此方法授权用户).

android google-authentication webview accountpicker

12
推荐指数
1
解决办法
3338
查看次数

IDEA 无法下载我的库的源代码

我在私人 Maven 仓库中有一个库(我自己的)。我将它与 javadoc 和源一起发送到那里:

\n

回购协议

\n

在我的应用程序中,我声明了这个存储库:

\n
dependencyResolutionManagement {\n    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)\n\n    repositories {\n        google()\n        mavenCentral()\n\n        maven {\n            url = uri("https://jitpack.io")\n        }\n        maven { // <- This is my private repo\n            credentials {\n                username = extra["mavenUser"] as String\n                password = extra["mavenPassword"] as String\n            }\n            url = uri(extra["mavenUrl"] as String)\n        }\n    }\n}\n
Run Code Online (Sandbox Code Playgroud)\n

它下载 aar 没有任何问题,但不下载源,当我尝试通过单击 \xc2\xabDownloadsources\xc2\xbb 来强制它时,它失败了:

\n
Execution failed for task \':app:DownloadSources\'.\n> Could not resolve all files for configuration \':app:downloadSources_36c7b334-04c2-4099-b66c-2adc137cc95c\'.\n   > Could not find com.example.path:common-core:0.0.1@aar.\n     Searched in the following …
Run Code Online (Sandbox Code Playgroud)

java gradle maven kotlin maven-publish

10
推荐指数
1
解决办法
2216
查看次数