0

Intel の App Framework を使用して Android アプリケーションを作成しました。Android 3.0 以降のバージョンで動作します。ただし、他の低バージョンでは機能しません。エラーが発生します

NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7: An attempt was made to modify an object where modifications are not allowed. at path-to/appframework.js:529

これは、App Framework の次の部分に対応します。

514 html: function(html, cleanup) {
515             if (this.length === 0)
516                 return this;
517             if (html === nundefined)
518                 return this[0].innerHTML;
519
520             for (var i = 0; i < this.length; i++) {
521                 if (cleanup !== false)
522                     $.cleanUpContent(this[i], false, true);
523                 if (isWin8) {
524                     var item=this[i];
525                     MSApp.execUnsafeLocalFunction(function() {
526                         item.innerHTML = html;
527                     });
528                 } else
529                     this[i].innerHTML = html;
530             }
531             return this;
532         },

この問題の原因は何ですか。誰かが助けてくれることを願っています。新しい Android バージョンでは問題なく、古い Android バージョンでは動作しない理由がわかりません。

4

0 に答える 0