久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  1. <legend id='tEbgp'><style id='tEbgp'><dir id='tEbgp'><q id='tEbgp'></q></dir></style></legend>
  2. <i id='tEbgp'><tr id='tEbgp'><dt id='tEbgp'><q id='tEbgp'><span id='tEbgp'><b id='tEbgp'><form id='tEbgp'><ins id='tEbgp'></ins><ul id='tEbgp'></ul><sub id='tEbgp'></sub></form><legend id='tEbgp'></legend><bdo id='tEbgp'><pre id='tEbgp'><center id='tEbgp'></center></pre></bdo></b><th id='tEbgp'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='tEbgp'><tfoot id='tEbgp'></tfoot><dl id='tEbgp'><fieldset id='tEbgp'></fieldset></dl></div>
      <bdo id='tEbgp'></bdo><ul id='tEbgp'></ul>

    <small id='tEbgp'></small><noframes id='tEbgp'>

      <tfoot id='tEbgp'></tfoot>

      DynamoDbMapperException:沒有方法注釋?

      DynamoDbMapperException: No method annotated?(DynamoDbMapperException:沒有方法注釋?)

    1. <tfoot id='NlXjc'></tfoot>
        <bdo id='NlXjc'></bdo><ul id='NlXjc'></ul>
        <legend id='NlXjc'><style id='NlXjc'><dir id='NlXjc'><q id='NlXjc'></q></dir></style></legend>
            <tbody id='NlXjc'></tbody>

        1. <small id='NlXjc'></small><noframes id='NlXjc'>

              • <i id='NlXjc'><tr id='NlXjc'><dt id='NlXjc'><q id='NlXjc'><span id='NlXjc'><b id='NlXjc'><form id='NlXjc'><ins id='NlXjc'></ins><ul id='NlXjc'></ul><sub id='NlXjc'></sub></form><legend id='NlXjc'></legend><bdo id='NlXjc'><pre id='NlXjc'><center id='NlXjc'></center></pre></bdo></b><th id='NlXjc'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='NlXjc'><tfoot id='NlXjc'></tfoot><dl id='NlXjc'><fieldset id='NlXjc'></fieldset></dl></div>
                本文介紹了DynamoDbMapperException:沒有方法注釋?的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                問題描述

                在我的 Android 應(yīng)用程序中,我使用 DynamoDb.我創(chuàng)建了一個(gè)類,它與一個(gè)數(shù)據(jù)庫表映射.應(yīng)用程序在調(diào)試中正常運(yùn)行.但是如果我導(dǎo)出 apk 并運(yùn)行應(yīng)用程序,我會(huì)得到 DynamoDbMapperException:

                In my android app, I use DynamoDb. I create a class, which is mapped with a table of database. App runs normally in debug. But if I export apk and run app, I get the DynamoDbMapperException:

                Caused by: com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.DynamoDBMappingException: No method annotated with interface com.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.DynamoDBHashKey for class class com.example.myclass.
                

                我使用 Eclipse 和 proguard 來導(dǎo)出 apk.我猜 proguard 會(huì)導(dǎo)致問題,因?yàn)闆]有 proguard 的 apk 可以正常工作.這是我的 Proguard 配置:

                I use Eclipse and proguard to export apk. I guess proguard causes the problem, because the apk without proguard works fine. Here is my Proguard config:

                -keepattributes *Annotation*
                -keep public class com.example.myclass
                

                請(qǐng)幫幫我!我不知道如何解決這個(gè)問題.

                Please help me! I don't know how to solve the problem.

                推薦答案

                你使用的是 DynamoDB 表嗎?

                Are you using a DynamoDB table?

                你需要一個(gè)類的哈希鍵,你應(yīng)該用@DynamoDBHashKey注釋字段,你是否不小心將它注釋為@DynamoDBIndexHashKey?如果是這樣,你應(yīng)該把它改回來.

                You need to have a hash key for the class, you should annotate the field with @DynamoDBHashKey, do you accidentally annotated it as @DynamoDBIndexHashKey? If so, you should change it back.

                類似的參考可以在這里找到

                A similar reference can be found here

                Android Amazon DynamoDb 基本操作錯(cuò)誤

                嘗試改變

                -keep public class com.example.myclass
                

                -keep public class com.example.myclass {
                    *;
                }
                

                這篇關(guān)于DynamoDbMapperException:沒有方法注釋?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

                相關(guān)文檔推薦

                Get user#39;s current location using GPS(使用 GPS 獲取用戶的當(dāng)前位置)
                IllegalArgumentException thrown by requestLocationUpdate()(requestLocationUpdate() 拋出的 IllegalArgumentException)
                How reliable is LocationManager#39;s getLastKnownLocation and how often is it updated?(LocationManager 的 getLastKnownLocation 有多可靠,多久更新一次?)
                How to detect Location Provider ? GPS or Network Provider(如何檢測位置提供者?GPS 或網(wǎng)絡(luò)提供商)
                Get current location during app launch(在應(yīng)用啟動(dòng)期間獲取當(dāng)前位置)
                locationManager.getLastKnownLocation() return null(locationManager.getLastKnownLocation() 返回 null)
                  <bdo id='L2wg7'></bdo><ul id='L2wg7'></ul>
                  <i id='L2wg7'><tr id='L2wg7'><dt id='L2wg7'><q id='L2wg7'><span id='L2wg7'><b id='L2wg7'><form id='L2wg7'><ins id='L2wg7'></ins><ul id='L2wg7'></ul><sub id='L2wg7'></sub></form><legend id='L2wg7'></legend><bdo id='L2wg7'><pre id='L2wg7'><center id='L2wg7'></center></pre></bdo></b><th id='L2wg7'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='L2wg7'><tfoot id='L2wg7'></tfoot><dl id='L2wg7'><fieldset id='L2wg7'></fieldset></dl></div>

                  <small id='L2wg7'></small><noframes id='L2wg7'>

                  <tfoot id='L2wg7'></tfoot>

                        <tbody id='L2wg7'></tbody>
                        • <legend id='L2wg7'><style id='L2wg7'><dir id='L2wg7'><q id='L2wg7'></q></dir></style></legend>

                          主站蜘蛛池模板: 日韩在线观看一区 | 五月天国产视频 | 国产一区二区精品自拍 | 精品亚洲一区二区三区 | 99小视频 | 国产最好的av国产大片 | 久久久久久美女 | 欧美日韩国产一区二区三区 | 亚洲国产精品一区二区第一页 | 亚洲a在线视频 | 夜夜骑首页| 日韩精品一区二区三区老鸭窝 | 日本三级电影免费观看 | 婷婷久久五月 | 日本不卡高字幕在线2019 | 色久五月| 久久久国产一区二区三区 | 人人天天操 | 超碰美女在线 | 日韩中文电影 | 蜜臀网站 | 国产小u女发育末成年 | 欧美性生交大片免费 | 国产精品日日做人人爱 | 夜夜草天天草 | 亚洲一区二区av | 五月婷婷中文 | 日韩中文在线 | 日韩在线观看中文字幕 | 日本一区精品 | 91网站视频在线观看 | 一级二级三级黄色 | 国产精品99久久久精品免费观看 | 久久久久久久久99精品 | 欧美精品综合在线 | 精区3d动漫一品二品精区 | 91综合网 | 五月婷六月丁香 | 手机在线一区二区三区 | 中文字幕在线观看av | 久久国产精品久久久久 |